Great time at the Nova Code Camp

by michaellotter 26. November 2007 08:29

The Nova Code Camp has come and gone and so has the Thanksgiving holiday.  Nas and I had a great time at the Nova Code Camp and we can't wait for the next one. It was a really good code camp for me because I got to meet some great new people and my session seemed to go really smooth and I have spotted some new areas where I can approve my code demo. The whole code camp thing is still really new to me and before going to them I was fearful that I wouldn't enjoy them but so far I've been totally wrong. Speaking and attending these code camps have given me the ability to open my mind and view things differently. It has also given me a new perspective on InfoPath and SharePoint and how to approach and tackle problems that I have in the work place. Overall it has been a great experience and I can't wait to continue down this path and see what else comes from it. At some point the presentations will be added to the http://novacodecamp.org/ website and if you have any interest in what happened I would definitely go check them out.

While at the code camp I got to meet Jeff Schoolcraft (http://thequeue.net/blog) the guy that organized the event and we had some great conversations about many different topics. During one of the conversations he mentioned http://www.community-credit.com/ website and I told him that I never heard of it before and he said that I should check it out. The next day I did and I must say that it's a pretty interesting site and I thought it was worth passing along.

Since the Nova Code Camp is over I've started getting ready for the NJ SharePoint User Group meeting that I'll be speaking at in December. The presentation will be a little different than the code camp presentation because I was told that I should focus more on slides and content then code but I'll still be talking about InfoPath, InfoPath Forms Services and SharePoint. Once I get the official date and time from either Jason Medero or Bob Fox then I'll pass it along but I do know that it's in the third week of December and I'm pretty sure it's on Wednesday. Hope to see some of you there.

Cheers

Tags:

Code Camp

Why the text on my InfoPath form is so large

by michaellotter 18. November 2007 23:00

Thursday was another good day because there were several things that reminded me of things that I already knew but hadn't blogged about.  Anybody that works with InfoPath knows or should know that InfoPath is tightly integrated with IE and the below details is one example of this.

In the last post I mentioned that I was working with a new guy that will be taking over my work and whenever he opened a form in "Design Mode" his form text looked so much larger than mine and at times his text would wrap and mine wouldn't.  This morning it bothered me enough that we looked at what the problem was and we discovered that it was "Text Size" IE setting.  Below images of the same form but if you look really close you will notice that the labels are different sizes.  This is caused by the "Text Size" menu option being set at different levels.

 

 

 

When we changed the "Text Size" menu option to be the same as mine then the forms looked identically the same.  To change the text size in IE 7 click Page menu button next to Tools and then navigate down to Text Size and below is a screen shot of the Text Size menu option.  The second image is another example of getting to the same menu option and is pretty close on how to do it with IE 6. 

 

 

This situation will most likely stay with me for a while because it will be something that I will want to tell future clients to watch out for because it could truly be an issue help desks would need to watch out for.

Cheers

Tags:

InfoPath 2007

InfoPath Form Template Part data source appending to existing Main data source instead of replacing

by michaellotter 13. November 2007 08:47

This week I started cross training a client employee on what I’ve been doing for the past 5 months because I’m leaving the project soon and start to look for a new project. Yesterday during our first session we discussed InfoPath Template Parts and how to build them and use them with existing InfoPath Forms. One thing that was brought to my attention again was how it interacts with an InfoPath Form when an existing control is being updated. When I discovered this the first time I forgot to blog about it but this time I didn’t want to pass up the opportunity because I think it’s pretty important to understand if you are going to use InfoPath Template Parts.

When building a new InfoPath Template Part you define the data source and then design the template part or you design the template part and let that define your data source. Once done you save it and then add it to the InfoPath designer when a form is being designed. At that point you then add it to the form and it magically appears and the new fields are added to the data source. All that is the straight forward stuff but now things start to get a little more complicated when you go back and modify the template part. If you go back to the template part and make a visual change (meaning not adding a new control that updates the data source) and save the changes and add it back into the InfoPath designer and update the existing control on the form everything works just fine. Now if you were to update the same template part but add a new control/field and save the changes and add it back into the InfoPath designer and update the existing control on the form everything appears to work just the same but it actually does one extra thing, it appends all the fields to the main data source again with the new one.  Logically you would think it would just update the existing structure with the new field but it doesn't.  If you’re not paying attention this could cause some major problems if things are not cleaned up. To clean things up just delete the original fields and then move the new fields to the location of the original fields and rename the new fields to the names of the original fields (sorry that’s so confusing).  It's pretty easy to do because InfoPath should have only added "_1" to the end of the new fields or the next number available.  If you don’t do the clean up then any existing data will still reference the original fields and won’t show up on the form because the form now points to the newly appended fields. This is sort of messy but I’m sure it’s done this way to preserve the original structure just in case it’s needed. That’s the only logical reason that I can think off at this point.

After writing this I sort of think the reason for not doing it before is because it’s so confusing to understand the situation without physically seeing it. With that being said I’m thinking about buying some capture software to create a video of what I’m talking about and hope this will give more clarification of what I’m talking about.

Cheers

Tags:

InfoPath 2007 | InfoPath Form Template

Unrecognized namespace ASP and The language referenced by the Language attribute is not supported by Visual Studio IntelliSense

by michaellotter 10. November 2007 07:09

Today was one of those days when you need everything to go smooth but things don’t. The morning started out really well and I was making great time writing new code on my IBM ThinkPad T61 Vista machine and then I needed to transfer my ASP.NET 2.0 Ajax projects over to my VPC image to integrate my SharePoint custom web service and WMI code and that’s when nothing worked correctly and my day basically started to waste away. The VPC image is fairly new but I thought it was in good working condition because that’s where I had built and tested successfully an ASP.NET Web Service project but not true. When I moved over all my ASP.NET 2.0 Ajax projects and tried to open them that are when things started not to work. The first problem I had was not being able to open my projects correctly but that was an easy fix because I just installed the ASPAjaxExtSetup.msi file (ASP.NET Ajax 1.0 Extensions) but the problems that I had after that was what took so long to fix.

The projects that I copied over and opened or any ASP.NET projects created from the VPC image had the below error messages. The error messages only showed up and prevented me from compiling when I was in HTML Source view. If I was in the Design View everything would compile and publish but the only Toolbox that I had was HTML.

Error 1:

The language referenced by the Language attribute is not supported by Visual Studio IntelliSense and statement completion. Changing the language name when the file is open requires that you close and re-open the file

Error 2:

Unrecognized namespace ASP

I’ve never seen the error messages before and when I went searching the internet I couldn’t find anything that helped me solve the problem. Then I started comparing what products were installed for each Visual Studio 2005. You can do this by opening Visual Studio and then clicking Help->About Microsoft Visual Studio and looking in the Installed Products textbox. To make things easier I clicked the Copy Info button and pasted everything in notepad. After doing a little comparison I noticed that “Microsoft Visual Web Developer 2005” was installed on my Vista version but not on my VPC image but everything else looked the same except for the Vista specific patches. Since that was the only major difference I decided to install the missing product on my VPC image and 30 to 45 minutes later the install was done but now when trying to open the projects I got error message saying the projects were unsupported with the installed version. This was an easy one; I just needed to install SP1 for Microsoft Visual Studio 2005.

I found the SP1 for VS 2005 and started the installation and everything was going great and it was almost done and then a new error came up saying it ran out of virtual memory and gave me the below error message and link.

Error 1718: File name of file was rejected by digital signature policy.

http://go.microsoft.com/fwlink/?LinkId=73863

This error message seemed pretty familiar but when I looked through all my notes and blog posts I couldn’t find anything which surprised me a little because usually I write things down so I don’t have to trouble the same problem more than once. Enough about that and back to the error, I took the advice of the article and downloaded the Windows 2003 Server patch and installed it on the VPC image and then reran SP1 for VS 2005. An hour later the installation finished without any errors (hooray!) and then when I opened the projects all the errors were gone and everything appeared to be working correctly. This was a crazy mess but I’m just glad that I was able to fix it and didn't have to rebuild the VPC image.

Lesson learned for me this time around is to make sure “Microsoft Visual Web Developer 2005” gets installed when building a VPC image. I’ll remember this because I’ll be building a new one this month once Microsoft Visual Studio 2008 is officially released. I saw a demo of the product at Dev Connections and it looks really impressive and the CSS and JavaScript support looks really nice.

Hope everyone has a good weekend and if you’re in the Reston, VA area come out to the Nova code camp on Saturday, November 17th and hang out with everyone for the day. Some of the sessions look killer and I can’t wait to attend some and speak at mine. Below is a link to the website and it has all the information that you need.

http://novacodecamp.org/

Cheers

Tags:

Microsoft Visual Studio 2005 | Wndows Server 2003

Speaking at Nova Code Camp on November 17th

by michaellotter 8. November 2007 09:11

The Nova Code Camp is coming up on Saturday, November 17th in Reston, VA and I’m happy to say that I will be giving a presentation at the event. The presentation is titled “Pre-populating Active Directory User Information InfoPath 2007 and C# and create a workflow with SharePoint Designer for routing”. This is the same presentation that I did at South Carolina Code Camp but I’ve modified it from the feedback that I got from the South Carolina Code Camp. The presentation is based off work that I did for recent project. Information on attending the code camp can be found at http://novacodecamp.org/.

I’m really excited about this opportunity because it gives me another opportunity to meet new people and to work on my speaking and presentation skills. My big dream is to get enough practice at speaking and then try to do one of the bigger conferences. Writing and speaking skills have always haunted me since being a little kid but I’m determined to improve these skills and have them as assets.

The last code camp was a blast and I’m sure this one will be to, please come out and join us for a great time.  Hope to see you there.

Cheers

Tags:

Public Speaking

Speaking at the New Jersey SharePoint User Group meeting in December

by michaellotter 5. November 2007 12:48

After having such a great time at the South Carolina Code Camp I decided to look for other speaking opportunities to share my knowledge on InfoPath 2007, InfoPath Forms Services and SharePoint 2007 and since I've been in Newark/New York area I decided to talk with Jason Medero and Bob Fox to see if they could hook me up at either New York or New Jersey SharePoint user group.  After submitting a proposal I got accepted for the New Jersey SharePoint user group meeting and will be speaking at the December meeting.  I'm really excited to have this opportunity but little nervous because it will be my second speaking opportunity but I'm sure it will go just as smooth as previous one.  I'll be speaking on InfoPath 2007, InfoPath Forms Services and SharePoint 2007 and below is a description of what then presentation will be on.

With the new version of SharePoint and InfoPath being officially released this year the concept of building and using e-forms in the enterprise has officially become a reality by using InfoPath 2007, InfoPath Forms Services and SharePoint 2007 Enterprise.  This presentation will describe how to use InfoPath 2007 and InfoPath Forms Services (part of SharePoint 2007 Enterprise) to accomplish this with your existing or new SharePoint 2007 Enterprise installation. A demo will be given to show how to build and publish an InfoPath 2007 form to InfoPath Forms Services and how to active the forms from InfoPath Forms Services to a Site Collection.

After submitting the proposal description and being accepted I found out that somebody else is already speaking at the New York SharePoint user group meeting in November on the same subject and I'm hoping that they won't be to similar to each other.  I would change it around a little if I could attend the meeting in November to see what he is actually talking about but unfortunately I'll be at the Dev Connections conference in Las Vegas that week.  Jason said not to worry about it and just do my thing and everything will be fine.

Josh Carlisle a co-worker from Raleigh will be speaking at the December New York SharePoint user group meeting.  I'm not sure what he will be talking on but whatever it is it should be great.  I saw him speak at the South Carolina Code Camp on SharePoint development and it was outstanding.

Cheers

Tags:

Public Speaking

Simple way to test out your LDAP queries without Visual Studio

by michaellotter 1. November 2007 08:45

The other day my current client gave me a new form and workflow to build and this from was going to require me to build a new LDAP query for retrieving information.  At this point I've done about 10 different queries and the majority of the code is already done but the actual "Filter" needs to be created and I always have dreaded this part because I never found a good way to test out the filter (query) until yesterday. I was out on Google searching for something and I came across this Exchange article and it showed me how to test out my queries on AD before adding it to my C# code.  This method is going to save me so much time in the future I just wanted to share it.  The "Where Can You Use LDAP Queries?" section has "Doing a Search Using Active Directory Users and Computers" section and it shows you how to use the "Find" function from "Active Directory Users and Computers" to test queries.

Cheers

Tags:

LDAP

About me

Michael Lotter
B&R Business Solutions
SharePoint Solution Architect
MCTS
More...

 

SharePoint Saturday

SharePoint Saturday is a free event open to the public and is focused on all aspects of SharePoint and related Microsoft Office technologies.  
  

 

 

 

 

 

 

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

RecentComments

Comment RSS