Hot answers tagged

7

You can define this when you add a column in CAML via the ShowInNewForm and ShowInEditForm properties. You can find all the valid properties in the article Field Element (List) Alternatively, you can set these values using the object model (likely Powershell, since this is a one off run). The properties of the SPField object are the same (ShowInNewForm / ...


6

I ran into the same requirement in a recent project, basically preventing access to any list view or form of a particular (hidden) list via the Web browser. SharePoint designer isn't allowed on Web Application level and Web services (including client object model) is blocked by a custom HTTP handler, so the concerns mentioned in other answers didn't apply ...


5

You can do this programmatically or through PowerShell, setting SPField.Hidden property to false. Tentative PowerShell script: $web = Get-SPWeb http://localhost $list = $web.GetList("/Lists/Test") $field = $list.Fields.GetFieldByInternalName("Created") $field.Hidden = $false $field.Update()


5

To just activate the feature use the following command: Enable-SPFeature –Identity <<FeatureID>> –url http://myspsite/ To find the FeatureID use the following for hidden features: Get-SPFeature -Limit ALL | Where-Object {$_.Hidden -eq $true -and $_.Scope -eq “WEB”} | Sort-Object DisplayName | Select DisplayName, Id


4

Closed Webpart > When you close a webpart , it goes and stays in the closed webpart gallery. You can see this gallery when you click on Edit Page on the 2010 ribbon > Insert > Webpart > Closed Webpart Gallery. When you close a webpart it does not get loaded in the webpage during realtime. The closed webparts even then reside in this gallery which can be ...


4

If you want to just show Sites and Subsites below it, you can setup the Data Source like this: <SharePoint:SPHierarchyDataSourceControl runat="server" ID="TreeViewDataSource" IncludeDiscussionFolders="false" ShowListChildren="false" ShowDocLibChildren="false" ShowFolderChildren="false" RootContextObject="Web" /> And use above data ...


3

ActiveX components (which is what you get rendering a network drive) is always on top of HTML, z-index or not. You cannot do anything about that in Internet Explorer (except having a script that temporarily hides the ActiveX while you're activating your menu).


3

Edit the permission of the list and set the access level accordingly, you can even give permission to only a few user to a list or library. You can find list permission under list settings. I would recommend creating a group if you need this set of user in some other place also, otherwise if you know that you have to use this permission set only for a ...


2

You could try this, assuming the link element has the value UploadMultipleLink in its ID: $(function() { $("[id$='UploadMultipleLink']").css('display', 'none'); });


2

Edit the page. Go to Insert tab on the ribbon and select Web Part. In the Categories list on the left-hand side scroll down to Closed Web Parts and select it. You should then be able to select the closed web parts and add them to one of the existing zones.


2

Name isn't Hidden and even if it was, tinkering with OOB fields is not advisable. It's not allowing it because it's type is File.


2

You can access all sorts of things in SharePoint by typing in a url or by merely changing the querystring. If the list must be hidden always, then change security on the list so that only those with proper permissions can see it. If you really are set on this, you can also implement some form of URL Rewriter on the IIS server hosting SharePoint and block ...


2

It is simple like this. SPUtility.GetSPField('City').Hide(); Please refer this question to show how to apply it. Edit: As far as you are concerned not only on the displaying and having high security concerns over the security of data, you better try something like creating another list with a one-to-one mapping. Then add a lookup column from first list ...


2

You can also apply jquery to hide the column. i.e. $("input[title='Title']").closest('tr').hide(); you have to add content editor web part in newform.aspx of list to apply jquery.


2

The answer from @RJ Cuthbertson is very interesting! So I digged it and I wrote a blog post about that. I reproduce here what I wrote in my blog: With the Sharepoint WebServices it’s possible to hide a field into the NewForm, the Editform and/or the DispForm. You’ll need to use JavaScript with jQuery and SPServices. It’s the UpdateList service that will do ...


2

Move the CEWP below the list. Alternatively, don't run the javascript until the page has loaded. A common method of doing this is via jquery: http://api.jquery.com/ready/ <html><head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/JavaScript"> $(function() { // ...


1

No it won't be, but if you are deleting hidden columns that SharePoint created, and not manually created, you will have quite a rough time trying to use SharePoint.


1

Go to Site Actions--> Site Settings--> Navigation and deselect Show subsites and Show pages. The opposite of what is shown in the image here: Following this procedure means that they are hidden in Navigation. They will not be hidden from All Site Content. Show or hide individual subsites and pages Do one of the following: On the Site Actions ...


1

Can you try this: Click on Settings at the top and then click on Edit Page. Then Select the web part representing the list. At the top right click on Edit Web Part. Go to Miscellaneous section and select Server Render. Click OK. Let me know if it helps. I recently faced a somewhat similar issue which I blogged here. ...


1

There is no OOTB feature in sharepoint that let's you hide columns from specific users based on permissions. If you want to do that, you have to create script code with MS powershell on your server farm to do this. As an intern, I don't think you would have access to modify code on the server farm, so there really isn't much you can do as far as I am ...


1

If you're using pure javascript, the easiest way is to add the field back to your page, hide it with a css style or some other javascript, then read the field value directly. If you need, you can edit the Dataview Webpart in designer to give the tds in that particular column a special class or something to make it easier to select.


1

I would use the CodePlex SPSERVICES project (http://spservices.codeplex.com/), which is compatible with SharePoint 2007. SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works ...


1

The answer has already been given. Either use Powershell to hide the field in Display Form (take a look at another discussion for some helpful guidance or at this page) #Get the web and site column objects $web = Get-SPWeb http://site $column = $web.Fields["Column To hide"] #Set the PushChangesToLists property for the changes to be applied #to lists where ...


1

To prevent users from customizing master pages on your SharePoint sites, you can uncheck the Enable Customizing Master Pages and Layout Pages on one or both of the SharePoint Designer Settings pages. When this option is disabled, users will no longer see the Master Pages or Page Layouts links in the Navigation pane of SharePoint Designer. SharePoint ...


1

As Per my understanding, you can do it by Editing Elements.xml like Hidden="True" and then deploy once again. Also, you can do directly by editing C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\ YourSolutionName \Elements.xml Jinesh


1

I would suggest setting the default value for the user parameter in SSRS to User!UserID . That's what that property is for. Then you are not passing the username as a string in the URL.


1

why do you use the list view at all? simply make a new site, place a search and a searchresult Webpart on it and edit the query to search in the title (or path) of the files only.


1

You could use some JavaScript instead. Check if the search field is empty on page load. If it is, hide all the items shown on the page. If it is not, the user must have done a search, so don't hide the items.


1

So you can't secure them individually as list item attachments. The easiest way may be to keep them separate in a library where only the users that need access have permissions. One method I can think of where you could achieve a "visual" separation is to use multiple list views and audiences. Create two audiences with each group of users. Add two list ...


1

Hmmm... couple of ideas come to mind, although neither is particularly awesome. 1) Create a custom HTTP handler that detects if a user is browsing to one of the list url's and redirect the user 2) Link a javascript file in your master page that does the same thing (checks the url to see if it contains /Lists/YourList) and redirect the user somewhere else. ...



Only top voted, non community-wiki answers of a minimum length are eligible