tag:blogger.com,1999:blog-8705297068966115777.post7300105674420995661..comments2023-07-03T13:51:23.493+05:30Comments on SharePoint Kings: How to hide a column of SharePoint list in different mode (Add / Edit / Display Mode)?Parth Patelhttp://www.blogger.com/profile/05132175585607358084noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-8705297068966115777.post-60909695259496198382011-11-23T21:22:22.359+05:302011-11-23T21:22:22.359+05:30@Minerva,
you can refer this link http://www.shar...@Minerva,<br /><br />you can refer this link <a href="http://www.sharepointkings.com/2010/09/sharepoint-cascading-drop-downs-using.html" rel="nofollow">http://www.sharepointkings.com/2010/09/sharepoint-cascading-drop-downs-using.html</a> to find cascading dropdownSharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-86975619838091840102011-11-23T16:51:08.340+05:302011-11-23T16:51:08.340+05:30Works great !
But is there any possibility to asso...Works great !<br />But is there any possibility to associate 2 columns ?<br />for example i make 2 combo box columns. The first one has e.g. 3 main topics "cars,planes,ships" and in the second column all subcategories of possible companies e.g. "BMW, Mercedes, Boeing,.." Hope you get it. Is there any way, that i can manipulate it so that if you chose planes for example, it only shows the to planes associated companies ? and hides the rest ?Minervahttps://www.blogger.com/profile/06313393467211006001noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-3761199857196893612011-10-31T10:00:45.662+05:302011-10-31T10:00:45.662+05:30reddy,
not able to understand your scenario can y...reddy,<br /><br />not able to understand your scenario can you please describe in detail.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-45005153712601621912011-10-29T21:12:14.110+05:302011-10-29T21:12:14.110+05:30administrator ento into site he create a site and ...administrator ento into site he create a site and add a employee list and add 100 records to the employee list.after that he logout hte site.after the enter one user enter he clicked the employee list he shows only 10 records only,how can ido this pls send it to my mail id sanjamala.malli@gmail.comreddyhttps://www.blogger.com/profile/05321945599721523942noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-55882748885212851832011-09-12T14:22:45.413+05:302011-09-12T14:22:45.413+05:30Thanks for the suggestion. But I am not sure about...Thanks for the suggestion. But I am not sure about these filter webparts. I am using Foundation. (Does foundation have these webparts?). Though I have, I cannot use connection webparts as my view is datasheet view.<br /><br />my requirement is simple. I want to filter Datasheet view dynamically (programatically!!!)<br /><br />Do you have any solutions or suggestion?<br /><br />Thanks in advanceRajesh CHENNUPATIhttps://www.blogger.com/profile/12015820162791516107noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-49381609550463453392011-09-08T11:37:01.719+05:302011-09-08T11:37:01.719+05:30HiRajesh,
Can you elaborate your View query? Is i...HiRajesh,<br /><br />Can you elaborate your View query? Is is something that can be solved using Filter web parts? If yes, then use filter webparts, get the Querystring and connect two web parts.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-26975004447625190762011-09-07T11:45:12.780+05:302011-09-07T11:45:12.780+05:30Thanks alot for sharing.
I try the third one.
...Thanks alot for sharing.<br /><br />I try the third one. <br /><br /><br />One more query I have, I am not sure where to ask. Please share your knowledge.<br /><br />I have one datasheet view for one list. I want to filter the view depends on the query string. i googled a lot for the solution, but no luck.<br /><br />Finally I came up with one solution, which is not accurate, but solves my problem temporarily.<br /><br />My solution is, created one custom webpart and added to the page where i have my datasheet view. In page load of webpart i access the view and update the query. But by the time datasheetview is already dispalyed. so I had to redirect the entire page to see the latest results. It makes my entire page loads twice. How can I avoid it?<br /><br />Please share your knowledge.Rajesh CHENNUPATIhttps://www.blogger.com/profile/04123049568974293132noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-32903952447183988132011-09-05T12:01:29.897+05:302011-09-05T12:01:29.897+05:30Rajesh,
actually we had not tried what you are t...Rajesh, <br /><br />actually we had not tried what you are trying to do but there are several ways you can achieve this.<br /><br />a) if you are creating custom editform.aspx from designer then you can hide field in designer only.<br /><br />b) you can hide a list fields from javascript also refer this link<br /><a href="http://www.sharepointkings.com/2009/10/hiding-field-in-sharepoint-through.html>http://www.sharepointkings.com/2009/10/hiding-field-in-sharepoint-through.html</a><br /><br />c)This option we are not sure but you can give it a try. first hide field from default editform.aspx and then create a new copy from it. it might work or make you new one as default and then try to hide from code it might work.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-80351804275457835972011-09-05T11:53:48.410+05:302011-09-05T11:53:48.410+05:30How to do this in EditformNew.aspx?
I have custom...How to do this in EditformNew.aspx?<br /><br />I have custom editform, I want to do the same in this custom page.<br /><br />how to do it? Please share.Rajesh CHENNUPATIhttps://www.blogger.com/profile/12015820162791516107noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-73752188102704298472011-09-05T11:52:42.996+05:302011-09-05T11:52:42.996+05:30How to hide column in custom edit form (say EditFo...How to hide column in custom edit form (say EditFormNew.aspx)?<br /><br />When I say "fld.showIneditform" it actually referring "editform.aspx"<br />but how can I achieve this for the new edit form?<br /><br />please share us.Rajesh CHENNUPATIhttps://www.blogger.com/profile/12015820162791516107noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-40830082734981622672011-07-21T21:01:39.647+05:302011-07-21T21:01:39.647+05:30Thakhi Shaik,
you can change view on allitems.aspx...Thakhi Shaik,<br />you can change view on allitems.aspx :)SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-57402074037321645982011-07-21T19:41:44.216+05:302011-07-21T19:41:44.216+05:30how to do for allitems.aspxhow to do for allitems.aspxThakhi Shaikhttps://www.blogger.com/profile/18028852483640387196noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-55775453539871845432011-03-16T14:38:34.084+05:302011-03-16T14:38:34.084+05:30Hello, you can also check PowerForms which is a si...Hello, you can also check PowerForms which is a silverlight webpart that fully customizes sharepoint forms. You can easily hide columns, change position and a lot other advanced tasks without coding. Give it a try, i think it will solve a lot of problems.<br />http://www.bpc.gr/powerformsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-21941516327104236072011-02-05T09:27:18.177+05:302011-02-05T09:27:18.177+05:30Anonymous,
your requirement is so specific.
so we...Anonymous,<br /><br />your requirement is so specific.<br />so we don't think you will get something readily available. and if you do please share with us and other users also.<br /><br />ThanksSharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-7689448951272188332011-02-04T00:01:52.727+05:302011-02-04T00:01:52.727+05:30I want to do a kind of complicated thing. I am try...I want to do a kind of complicated thing. I am trying to do some kind of Q&A with a list on Sharepoint. Users will be able to search (not filter) for there answer. <br /><br />So I need to hide columns depending on users. And probably I will also need to only show certain items to certain users.<br /><br />Do you know of any SharePoint addon that could do this or how could this code be modified to accomplish this.<br /><br />The most important thing is that this restrictions shouldn't be overrun when running a search. <br /><br />Also if you know of any site that has done something similar I will really appreciate if you can point me to them to get ideas and tips from them. <br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-28344320620974482432010-08-30T19:27:17.756+05:302010-08-30T19:27:17.756+05:30You can hide a column for a specific user. it can ...You can hide a column for a specific user. it can be done with 3rd party addons for SharePoint.<br /><br /><br />Take a look at Smart List Lite of Infowise. its free<br /><br />http://www.infowisesolutions.com/product.aspx?id=SmartListLiteUnknownhttps://www.blogger.com/profile/08969723167272515919noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-82979100944276735982010-02-20T19:13:18.431+05:302010-02-20T19:13:18.431+05:30not possible to update column for each users.
cre...not possible to update column for each users.<br /><br />create a webpart put on each page.<br /><br />check in that webpart which user has permission and render a javascript which hide field. that's the only way we found. <br /><br />check this url <br /><br />http://www.sharepointkings.com/2009/10/hiding-field-in-sharepoint-through.html<br /><br />may help how to do it in javascript.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-52930474993046284102010-02-20T16:59:07.235+05:302010-02-20T16:59:07.235+05:30hiding some columns from particular users !!
WOW!...hiding some columns from particular users !!<br /><br />WOW!<br /><br />Can some one help me how to achieve this feature through coding?!<br /><br />awaitingأحمد بن عمر باجابرhttps://www.blogger.com/profile/15343170108895525537noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-18166934439836036472010-01-02T10:11:53.304+05:302010-01-02T10:11:53.304+05:30Hi,
Thanks for taking your time.
You can do this...Hi,<br /><br />Thanks for taking your time.<br /><br />You can do this with the permission level. Don't give permission on document level to specific user. User won't be able to see the document then.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-77168283327202733552009-12-03T12:54:23.079+05:302009-12-03T12:54:23.079+05:30How to Hide a document for the peticular user?..How to Hide a document for the peticular user?..girirajhttps://www.blogger.com/profile/12242602839783877591noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-74010500589924240762009-08-05T23:40:54.092+05:302009-08-05T23:40:54.092+05:30that you cannot do this with this property.
this ...that you cannot do this with this property.<br /><br />this property will hide for all the user including system account.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-14480513488666332992009-07-30T12:17:05.667+05:302009-07-30T12:17:05.667+05:30hi
can i hide this column for a specific user? oth...hi<br />can i hide this column for a specific user? other users are allowed to see this column.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-26145446377313876592009-01-25T20:56:00.000+05:302009-01-25T20:56:00.000+05:30@ swastik nath,you can create list as a feature an...@ swastik nath,<BR/>you can create list as a feature and on feature activated event you can run this code?<BR/><BR/>other wise you can create admin page where admin can do this stuff so admin can set the things before user can open newform.aspx.Parth Patelhttps://www.blogger.com/profile/05132175585607358084noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-33616773172107994922009-01-23T11:08:00.000+05:302009-01-23T11:08:00.000+05:30hi anil,can you tell me where exactly i need to wr...hi anil,<BR/>can you tell me where exactly i need to write this code ?<BR/>can i write it in itemadding event handler?<BR/>but i need to hide the columns in newform.aspx so i need to fire even before that. so where exactly do i need to write the code.swastik nathhttps://www.blogger.com/profile/16755023179904366748noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-19065003808661403722008-10-30T18:08:00.000+05:302008-10-30T18:08:00.000+05:30Hi I have tried every thing to achieve exactly wha...Hi <BR/><BR/>I have tried every thing to achieve exactly what we are speaking in this blog.<BR/><BR/>My code sniipet<BR/><B><BR/>Guid listGuid = new Guid(lstSiteLists.SelectedValue); <BR/> Guid fieldGuid = new Guid(lstFields.SelectedValue); <BR/><BR/> SPWeb site = SPContext.Current.Site.OpenWeb();//) <BR/> site.AllowUnsafeUpdates = true;<BR/> SPList list = site.Lists[listGuid]; <BR/> SPField field = list.Fields[fieldGuid]; <BR/><BR/> lblFieldID.Text = field.Id.ToString(); <BR/> lblFieldInternalName.Text = field.InternalName; <BR/><BR/> if (!(field.CanToggleHidden)) <BR/> { <BR/> Type type = field.GetType(); <BR/> MethodInfo mi = type.GetMethod("SetFieldBoolValue", BindingFlags.NonPublic | BindingFlags.Instance); <BR/> mi.Invoke(field, new object[] { "CanToggleHidden", true }); <BR/> }<BR/><BR/> field.Hidden = chkFieldHidden.Checked;<BR/> field.ShowInEditForm=CheckBoxShowInEdit.Checked;<BR/> field.ShowInNewForm=CheckBoxShowInNew.Checked ;<BR/> field.ShowInViewForms=CheckBoxShowInView.Checked ; <BR/> <BR/> field.Update();<BR/> list.Update();<BR/> site.Update();<BR/> site.AllowUnsafeUpdates = false;<BR/><BR/></B>Anil Kumarhttps://www.blogger.com/profile/10080324787898876548noreply@blogger.com