News

Events
About Me:
I am a 26 year old female SharePoint Enthusiast. I work for B&R Business Solutions from my home in Olathe, KS. I have been working with SharePoint since I attended the Portal University in 2005. I hold a BA in Computer Science from the University of Missouri - Kansas City. I love playing Rockband, organizing user group meetings, working with MOSS, attending Code Camps as a speaker, and having bizarre conversations about geek things with cool people. If you have any comments or questions fill out the contact form and I will try my best to help.

Rebecca Isserman's Facebook profile

My Stats

  • Posts - 200
  • Comments - 248
  • Trackbacks - 0

Twitter












Tag Cloud


Recent Comments


Recent Posts


Archives


Post Categories


B&R Blogs


Kansas City Community Blogs


Other Blogs


SharePoint Blogs


July 2008 Entries

Creating Global Lookup Fields


I like SharePoint Designer (aka FrontPage for SharePoint)...As we all know I have been designing websites since 1997, when I was 15 years old.  FrontPage and Dreamweaver were my friends after high school, so I know the good and the bad sides of the programs.  Today I was attempting to use a custom edit form in SharePoint Designer and a datasource linked to a list.  For the life of me I could not get it to work, so I spent a little portion of the day on Google looking for another option.  I found a little post where Paul Galvin has spread some of his SharePoint awesomeness in SharePoint Universities Forms (http://www.sharepointu.com/forums/t/3424.aspx).  He basically says create a site column of the type lookup field pointed to your lists.  That way any site underneath can inherit these lookup fields.  This is the most simple and brilliant thing I have done today, aside from creating a few search scopes.  As usual Paul rocks.

posted @ Wednesday, July 30, 2008 2:26 PM | Feedback (1) |


Kansas City Office Geeks August Meeting


Kansas City Office Geeks will be meeting Thursday, August 7th on Windows Workflow Foundation.  Jeff Julian is going to present, so it should be good.  If you want the official information go here: http://www.clicktoattend.com/invitation.aspx?code=130094

If you need to sign up for the newsletter or have any other comments, questions, or concerns go to http://www.officegeeks.org/kcog or fill out the contact form on my blog and I will add you.  I'm open for suggestions.  So far we have the sponsors through next year and speakers through the first couple months of next year.  I am going to be e-mailing some people in charge of other SharePoint User Groups all over the U.S. and see if we can get a speaker trade off going.  I will be updating the website with more information on the December and February meetings once Darrin Bishop e-mails me.  Michael Lotter will be speaking on InfoPath 2007 at the February meeting.  I believe we had a volunteer from the user group sign up, who I am going to try and sign up for March.  I'll see you guys next Thursday hopefully.

posted @ Tuesday, July 29, 2008 11:37 AM | Feedback (0) |


Calling for Volunteers Who want to Help with the SharePoint Nation Comic


I bought a different domain, because 1and1 kind of took away my customer id for my hosting account after not signing up for three months.  The url is now http://www.sharepointcomic.com.  If you notice there is a shelled out WSS 3.0 Team Site.  We finally have something available for people to see.  Now I need to find some people who are willing to create logos and brand the site.  If anyone is interested fill out the contact form or e-mail me directly if you know my information.  Anyone with ideas who wants to help out with the comic are welcome too.  Again thanks to my friend Brian Laird, who provided the hosting space on one of his boxes.  That means that if I want to do a little custom webpart dev I can just send him the solution package to install and create an installer package.  I am pretty psyched.  Soon I am going to add a submission area that will let me keep track of submissions by other people.  I've got about a million ideas, so stay tuned for updates.

posted @ Thursday, July 24, 2008 7:22 PM | Feedback (0) |


What I've Been Up To...ListViewByQuery and Its Nuances


At work they wanted a global document library to upload Resumes that would link to users profiles.  For the first part I created a ListViewByQuery User Control, however you can do this in a WebPart incredibly easy.  What you want to do is add the ListViewByQuery in markup or create a new object like so:

Web User Control:
<SharePoint:ListViewByQuery ID="YourID" runat="server" />

private ListViewByQuery YourID; //add this where you would normally add global fields

WebPart:
protected ovverride void CreateChildControls()

{

ListViewByQuery YourID= new ListViewByQuery();

this.Controls.add(YourID);

}

Next you want to add a query and a list to the control somehow.  You can either use the PageLoad event or the RenderControl Event depending on if you are using a UserControl or a WebPart:

Web User Control:
private void Page_Load(Object sender, EventArgs e)

{

SPWeb Web = SPContext.Current.Web.ParentWeb.ParentWeb; //pass in the web where your library is located

SPList List = Web.Lists["YourList"]; //this is where you pass in your list name

SPQuery Query = new SPQuery(List.DefaultView); //this is where you pass in the view you want to show on the ListViewByQuery

Query.Query = "a CAML Query";  //may want to make life easier and use the U2U CAML Query Builder if you are not

Query.ViewFields = "<FieldRefName="Field1"/><FieldRefName="Field2" /> //these are the document library fields you want to show in the view

YourID.List = List; //this is where you want to add the list to your control

YourID.Query = Query; //this is where you want to add the query to your control

}
WebPart:

public override void RenderControl(HTMLTextWriter writer)

{

SPWeb Web = SPContext.Current.Web.ParentWeb.ParentWeb; //pass in the web where your library is located

SPList List = Web.Lists["YourList"]; //this is where you pass in your list name

SPQuery Query = new SPQuery(List.DefaultView); //this is where you pass in the view you want to show on the ListViewByQuery

Query.Query = "a CAML Query"; //may want to make life easier and use the U2U CAML Query Builder if you are not

Query.ViewFields = "<FieldRefName="Field1"/><FieldRefName="Field2" /> //these are the document library fields you want to show in the view

YourID.List = List; //this is where you want to add the list to your control

YourID.Query = Query; //this is where you want to add the query to your control

YourID.RenderControls(writer); //this is where you render the control in the webpart

}

Note: There is really only one line of code difference between what you add to the Page_Load in a web user control versus what you add to a RenderControl.  A WebPart may not be easier to use, but it may load faster.  It really depends on if you are using the SMARTPart versus if you were to add the control straight onto an ASP .Net Page and other factors.  Weigh the pros and cons and then decide which one you want to use.  Also, remember to play with your strengths and use what is the most comfortable for you.

Some Nuances...

No I did not forget about my title.  I had some issues when I was developing with this control, because we needed a folder for each two letter office code.  When you leave the folder in the view and you do a query using the FileLeafRef it shows the folder and not the items beneath the folder.  The folder has a nasty URL that does not work attached to the link.  Here is what I did to get around this issue:

  1. In the document library click on "Modify this View" for the view that you are attaching to this Query
  2. Scroll down to the "Folders" Section and click the plus sign to expand the area
  3. Click on the radio button next to the option that tells you "Do not show folders..."
    Note: Folders will no longer show in this view, which allows you to do a query based on the folder URL.  This part looks a little crazy, but it works.
  4. Go back into your code and create something that looks a little bit like so above your SPQuery:
    SPFolder Folder = Web.GetFolder(LibraryName+"/"+FolderName);
    This will get the folder you need.
  5. In the Query.Query do a little something like this:
    Query.Query = "<where><BeginsWith><FIeldRef Name='FileLeafRef'/><Value Type='Lookup'>"+Folder.Url"</Value></BeginsWith></where>";
    So if you look FileLeafRef is the full url for your file name, so it checks if the url has the folder url in the beginning and returns all the items with that folder url in the beginning.  I know it's a little nutty, but it does the job.

So that is basically how you would use an SPLIstByQuery Control and workaround the folder bug that I described.  If anyone has any questions I am more than happy to assist you if I can or I can try to find an answer with my mad searching skills.  I am hoping that sometime by the end of the week I will have some sample code on the next piece of this project.  I am working with a List Definition for the Document Library and some item event receivers, so that when super users upload a person's resume they can attach it to their MOSS Profile.  I would say I love this project more so than the past projects, but I say that every new project.  I'll catch you guys later.

posted @ Wednesday, July 16, 2008 6:48 PM | Feedback (7) |


So You Want to Use a ServerContext in an Event Receiver...Too Bad...


I was playing with the ItemUpdated Event in a Document Library Definition File using VSEWSS.  I stepped into the filed like a good little girl using the w3wp.exe process.  Guess what the ServerContext is null, so I can't use the UserProfileManager...I found this little MSDN Post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3273163&SiteID=1.  It turns out there is a bug in the ServerContext, which is a little bizarre considering you can do SPContext.Current.Web/Site...I guess it's time to use the webservice to update user profiles: http://msdn.microsoft.com/en-us/library/ms544240.aspx.  You have to love the random bugs:)  Sometimes I wonder if MOSSLover is a appropriate...Maybe I should be the SharePoint Bug Girl Mascot...

posted @ Friday, July 11, 2008 2:08 PM | Feedback (0) |


The Big Trip: My Plans for the Connecticut Code Camp


I am by no means a world traveler like Joel Oleson.  My goal in life is to hit as many countries as I can and try hit every single state in the U.S.  So when I saw this add for the Hartford Code Camp (http://www.ctdotnet.com/) I signed up.  I have never been to New England (that I can remember) in my adult lifetime.  I know that in my entire life I have never seen Rhode Island, Massachussetts, New Hampshire, or Maine.  So I made a decision this week that I am going to come in on Thursday in the afternoon to Hartford and drive to Providence, RI.  I am going to drive all the way up I-95 to Portland, Maine.  I am not going to plan much, including lodgings and where I want to go.  If I see something cool along the way I am going to stop and check it out.  According to Rob Foster it looks like in Portland, Maine I need to have a lobster.  When the code camp finally roles around on Saturday I should have some really neat pictures and some great blog posts in August.  If anyone has been following my twitter or blog you will notice that at the end of July I will be in Seattle, then I am going to New England for my roadtrip/code camp adventure and the end of the month in August I will be in New York City for a friend's wedding.  If you live in any of these places let me know and maybe I can make a side detour who knows.  All I know is that I have been kicking myself since my high school graduation for not hitting all these states.  I am really excited, because a lot of people say August is a really pretty time to visit New England.  I really can't wait to go.  I think if I could I would pack my bags tommorow and head out like Forest Gump I love traveling to new places so much.  Anyway, I better get back to book things and such I'll catch you guys later have a good day as always.

posted @ Wednesday, July 09, 2008 8:29 PM | Feedback (1) |


AD Profile Synchronization in MOSS: What Happens When Someone's Name Changes?


Something interesting came up at work recently related to people changing there name due to some form of life event.  I never had really researched what would happen if someone changed there name.  I really did not know if there was a GUID in AD, so I spoke with one of our network guys.  He said that there is a GUID tied to every AD account, so when the name is changed in AD the information does not need to be changed only the name and account name.  I wondered if this worked similarly in SharePoint.  It looks like all you need to do is run a profile synchronization and the old username syncs to the new username based on the AD GUID (ADGuid property).  I am not so sure how well this works with WSS 3.0.  If anyone knows add a comment.  I hope this helps someone understand profile imports and syncing with AD in SharePoint.

posted @ Wednesday, July 09, 2008 2:34 PM | Feedback (1) |


My Attempts at Creating Custom Search Scopes


I am by no means a search guru, but at work they have tasked me with creating custom search scopes.  What they want is the ability to search a bunch of document libraries of a specific name in bunch of office sites.  John Ferringer gave me this awesome link: http://blogs.microsoft.co.il/blogs/adir_ron/archive/2007/05/10/Search-Hacks-_2300_1-_2D00_-Define-Scopes-by-MOSS-Metadata.aspx.  I figured that I could somehow use it to create custom scopes for the document libraries.  I started playing around and figured out that I could use the main site that the office sites sit under to create a scope to only search documents.  I started out by creating a scope called "Office Documents", then I created two rules: one rule where the Scope Rule Type = Web Address and Web Address = "Insert Main Address" and Behavior=Require and another rule where Scope=Property Query and Property Query = (drop down) contentclass=STS_ListItem_DocumentLibrary and Behavior=Required.  For that query I get a search for all documents underneath that site.  Now I want to narrow the properties down to search specific document libraries, such as resumes...I cannot figure out what the custom property is for the document library name.  I believe that I could use the Property Query and somehow choose in the drop down whatever the name of the property for the document library title, then I could type in the name of the document library.  After that I want to figure out how you could choose this scope, then narrow it down by specific office sites.  If anyone has any ideas you are more then welcome to submit them.  If not, I will continue to play around with scoping, because I have not really played around with it much in 2007, only 2003.  If I have time I am going to post more on my findings, however due to the book needing to get done around September or so I will be putting that above anything.

posted @ Monday, July 07, 2008 3:47 PM | Feedback (5) |


SharePoint Nation...We Need More Midwest Loving...


A friend of mine made a blog post about the lack of conferences in Kansas City.  Here is the post: http://www.codebucket.org/archive/2008/06/26/kansas-city-here-we-come.aspx.  If you don't know Lee Brandt you need to know him, even if he's not necessarily a full on SharePoint Nation Inductee he's a great developer.  He was one of my awesome teammates at Coders 4 Charity.  I would like to call him one of my friends in Kansas City.  He makes some good points.  I also ended up in a conversation with Jeff Julian a bit later and he also makes some good points.  If you want to hold a conference you need more user group attendees.  For our .Net User Group it looks like we are getting between 50 and 60 people.  Our Kansas City Office Geeks (SharePoint User Group), however is getting about 13 people so far at the last meeting.  I am hoping that the next meeting on Windows Workflow Foundation will have over 20 people.  We have 54 people signed up on our user group list.  We are not going to have a conference here if we are not going to be able to pull the numbers.  If you guys want a conference, then you need to start supporting your local user groups in Kansas City.  I love this community.  I love the people.  We just need more of you to come out and show up.  I know you are out there and I want to meet you and hear from you.  I would love to hear more feedback from Kansas City people on why you are not coming out.  Fill out the contact form.  E-mail me, Twitter me...I can't answer during work hours, but I will answer by the end of the night.  I hope to hear from you all.

posted @ Wednesday, July 02, 2008 10:37 PM | Feedback (0) |


The Feature Caught Between Two Worlds


I was using STSDev to deploy a feature that would create a custom timer job and write SharePoint Usage Data to a webservice.  Somehow the feature was deployed, but never actually hit my site collection feature list.  When I tried to retract the solution is said that there was a job pending that would not allow me to retract the solution package.  After running stsadm -o enumdeployments I found the job id copied the id and ran stsadm -o canceldeployment <job id>.  This pushed the solution into the timer jobs and I was able to delete the timer job that was stuck.  Then I ran a retractsolution and deploysolution in STSDev.  I guess you can say I pulled something back from the dead or the lost.  Kind of like in those tv shows where you see someone caught in between two worlds in a sort of limbo.   As usual I hope that someone can benefit from my experiences somehow.  Have a good fourth!

posted @ Tuesday, July 01, 2008 1:20 PM | Feedback (0) |