Hi Guys,
I ran into a very wierd but intresting issue today. The client changed the document library name and suddenly even handler started throwing error saying the file path does not matched. Whenever the list name changes, the internal name remains same and the path of the file remains with the internal name. So my properties.ListTitle was picking the display name and could not find the file.
So always better approach is to use list internal name.
Not simple but not even complex:
I used
properties.ListItem.ListItems.List.RootFolder.Name
and it gave me the list internal name and the issue was fixed. Cheers!
So, the basic logic is that, if you want to use list internal name, then you have to follow
objList.RootFolder.Name
Thursday, September 23, 2010
Tuesday, September 14, 2010
Twitter Friends Timeline and oAuth
Hi Guys,
If you guys had done any task regarding Twitter feed webpart, you should know by now that your webpart is not working anymore. The reason being the authentication of twitter has been changed from basic authentication ot oAuth.
currently i am working on my enhancement on twitter webpart to sync the authntication with oAuth. Let me know if you guys need a code snapshots.
Thanks
If you guys had done any task regarding Twitter feed webpart, you should know by now that your webpart is not working anymore. The reason being the authentication of twitter has been changed from basic authentication ot oAuth.
currently i am working on my enhancement on twitter webpart to sync the authntication with oAuth. Let me know if you guys need a code snapshots.
Thanks
Subscribe to:
Posts (Atom)