tag:blogger.com,1999:blog-948216771623611945.post8777009347110738133..comments2023-06-19T09:55:27.277-04:00Comments on SharePoint Sandeep: Adding Title(with menu) field for Document LibrarySandeephttp://www.blogger.com/profile/13461255407662769210noreply@blogger.comBlogger32125tag:blogger.com,1999:blog-948216771623611945.post-76746276261860949122011-05-10T04:17:54.469-04:002011-05-10T04:17:54.469-04:00Hi, Further to the SP2010 rendering, i couldnt get...Hi, Further to the SP2010 rendering, i couldnt get this and other methods i found revolving around "_EditMenuTableStart2" to work - but have identified what appears to be a hidden field in SP2010 which does the job. Basically all you need to do is add the ListItemMenu="TRUE" attribute to the item in the list schema. For info I found it while watching how Designer managed updates to the lists when you format columns etc - in my case i noticed it added this field to the schema.<br /><br />Thought you may be interested<br />EdAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-74070888462182926312011-05-06T12:41:13.850-04:002011-05-06T12:41:13.850-04:00I haven't testing it in SP2010. I will do so i...I haven't testing it in SP2010. I will do so in weekend and will update the post if any change required.Sandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-73299152635523975502011-05-06T10:41:03.555-04:002011-05-06T10:41:03.555-04:00Hi, I also cant get this to work on Sp2010 - the f...Hi, I also cant get this to work on Sp2010 - the field is attached to the list/view but the field always appears blank and the menu doesnt appear as expected - has the rendering of the drop down menu changing in SP2010 ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-49974806339617808092010-11-15T06:26:04.012-05:002010-11-15T06:26:04.012-05:00Hey Sandeep,I have tried the code but i can see ti...Hey Sandeep,I have tried the code but i can see title coulmn in document library but it does not have any content means all contents in under name coulm but not in title coulmn , I m using sharepoint2010 .Plz guideDatastoragenoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-34486165276942152722010-08-18T10:44:32.285-04:002010-08-18T10:44:32.285-04:00I hardly ever leave comments on websites - but I h...I hardly ever leave comments on websites - but I have to say this is AWESOME. worked right away and solved a problem that I was absolutely frustrated on. Thank you for posting this code online!!!!cevansnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-56310872988202894232009-11-05T13:59:00.968-05:002009-11-05T13:59:00.968-05:00thats why i the most number of comments on the pos...thats why i the most number of comments on the post .. this is my most popular postSandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-46661444912757617652009-11-05T13:58:43.837-05:002009-11-05T13:58:43.837-05:00Sandeep.. this worked like a charm in the first at...Sandeep.. this worked like a charm in the first attempt itself.. You da man!!<br /><br />-UmakanthUmakanth Neligehttps://www.blogger.com/profile/03974984471462145474noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-49566214239129421482009-11-05T13:57:35.292-05:002009-11-05T13:57:35.292-05:00Hi Sandeep!
I cant believe.. it just happened i...Hi Sandeep!<br /><br /> I cant believe.. it just happened in one single try! I had the exact requirement and this code worked like a charm. You da man!!<br /><br />Thanks Buddy!<br />Umakanth!!Umakanth Neligehttps://www.blogger.com/profile/03974984471462145474noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-22368298301563635542009-09-03T12:35:03.425-04:002009-09-03T12:35:03.425-04:00Please refer to my previous comments. The issue wa...Please refer to my previous comments. The issue was when I had title of a doc like:<br />"This is a test.(X. Y. Test)"<br />This would get truncated to :<br />"This is a test. (X"<br />Thanks,<br />PareshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-79039297242493998272009-09-02T18:50:32.373-04:002009-09-02T18:50:32.373-04:00Paresh,
hmm.. if u can tell me why you wanted th...Paresh, <br /><br />hmm.. if u can tell me why you wanted those changes then i can guide u..<br /><br />Thanks<br />sandeepSandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-16497798097238323682009-09-02T13:18:03.790-04:002009-09-02T13:18:03.790-04:00I made below changes to the HTML just above "...I made below changes to the HTML just above "Created_x0020_Date". Removed the HTMLEncode='TRUE' changed LookupColumn = 'Title' to Field Name='Title'<br /><br />Now it seems to work well. Is there any risk/bug I've introduced with these changes? Please let me know, I'm novice to sharepoint and may not have done right thing.<br />Thanks,<br />PareshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-18481846203290922002009-09-01T13:16:51.177-04:002009-09-01T13:16:51.177-04:00Sorry, its not the full stop (period) that causes ...Sorry, its not the full stop (period) that causes issues but the "(" is the culprit I think. If the title looks like "This is test (X. Y. Test)" then it displays only "This is test (X.Y"<br />Thanks,<br />PareshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-9061534939649610762009-08-31T19:09:00.465-04:002009-08-31T19:09:00.465-04:00Hey Sandeep,
Thanks for this post. I tried this an...Hey Sandeep,<br />Thanks for this post. I tried this and seem there is a issue in rendering title when the title has multiple full stops. This seems to stop until it sees first space after first full stop. Is this correct behavior? I've a requirement where the title can be made up with 2/3 small sentenses. In such cases it gets truncated to first sentense and first word after it. Please let me know if there is any solution for this.<br />Thanks,<br />PareshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-18211053410904389772009-06-12T20:39:14.547-04:002009-06-12T20:39:14.547-04:00100% right, if after implementing sharepoint from ...100% right, if after implementing sharepoint from last 3 yrs , i still learn everydaySandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-83522998572697142352009-06-12T17:43:04.237-04:002009-06-12T17:43:04.237-04:00Thanks Sandeep. This is great. I'm new to shar...Thanks Sandeep. This is great. I'm new to sharepoint and wonder where to learn these syntax details required. the fieldRefs and display patterns.. SharePoint has big learning curve :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-4274154158910934152009-06-10T22:13:01.848-04:002009-06-10T22:13:01.848-04:00Yes thats out of functionality.. if file is missin...Yes thats out of functionality.. if file is missing title it will show file name as TitleSandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-43988445098994835152009-06-10T21:56:14.940-04:002009-06-10T21:56:14.940-04:00Thanks. This is great post. I have a requirement w...Thanks. This is great post. I have a requirement wherein if a document doesnt have title, its name shouls be picked up. Is that easily possible?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-41194640579643990072009-03-11T07:00:00.000-04:002009-03-11T07:00:00.000-04:00Thank you, great post! Much appreciated.Thank you, great post! Much appreciated.Anders Austadhttps://www.blogger.com/profile/16894904477870456696noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-67775438542688021692009-02-06T15:59:00.000-05:002009-02-06T15:59:00.000-05:00Dude - you are the man. It worked! Thanks for al...Dude - you are the man. It worked! Thanks for all of your help!!Unknownhttps://www.blogger.com/profile/10775693362819755294noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-56741463101914144872009-02-06T15:47:00.000-05:002009-02-06T15:47:00.000-05:00You might need to add following line of code -----...You might need to add following line of code <BR/><BR/>-------------------<BR/>using Microsoft.SharePoint; <BR/>-------------------<BR/><BR/><BR/>at the top along with other namespacesSandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-9556427669869859952009-02-06T15:38:00.000-05:002009-02-06T15:38:00.000-05:00Got the exe to run but am now wondering if I need ...Got the exe to run but am now wondering if I need to restart sharepoint server for changes to take effect.Unknownhttps://www.blogger.com/profile/10775693362819755294noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-53839746142700107512009-02-06T14:30:00.000-05:002009-02-06T14:30:00.000-05:00Sandeep, I opened a new .cs project and pasted you...Sandeep, I opened a new .cs project and pasted your code in between the tags provided in vis studio. I believe I followed everything from your comments, referenced the sharepoint.dll and ended up with 'the type or namespace name SPSite could not be found.' Just wanted to touch base one last time and no sweat if you're not sure. You've already taken a lot of time.Unknownhttps://www.blogger.com/profile/10775693362819755294noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-68226415616800158532009-02-05T17:38:00.000-05:002009-02-05T17:38:00.000-05:00Thank you! I appreciate all of your help.Thank you! I appreciate all of your help.Unknownhttps://www.blogger.com/profile/10775693362819755294noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-15163257678050774932009-02-05T17:25:00.000-05:002009-02-05T17:25:00.000-05:00compile the solution and u will find the EXE file ...compile the solution and u will find the EXE file in the BIN folder .. which u can directly run in another machine by double clicking it...<BR/> <BR/>CS --- >> EXE --> run in new environmentSandeephttps://www.blogger.com/profile/13461255407662769210noreply@blogger.comtag:blogger.com,1999:blog-948216771623611945.post-20508089304546372092009-02-05T17:20:00.000-05:002009-02-05T17:20:00.000-05:00Sandeep I was able to build the .cs file as stated...Sandeep I was able to build the .cs file as stated above. One last question -is it possible to run the .cs file outside of visual studio. I have it on my pc but the server doesn't have a copy. I could download a trial but didn't find much after searching for this answer.Unknownhttps://www.blogger.com/profile/10775693362819755294noreply@blogger.com