Hide promoted links in sharepoint 2013? - sharepoint

I created a webpage containing various promoted link tiles. This page is my default page (when the user logons he/she is redirectedto this page). Based upon the group to which the user belongs I want to show some specific promoted link tiles and hide the rest of the promoted link tiles.
For example, my webpage contains 4 Promoted Link tiles.
For a normal user I want to show only 2 Promoted Link tiles and hide the rest of the tiles.
Whereas for admin I want to show all the Promoted Link tiles.
Or I thought of having different pages for different groups, but I couldn't find any setting in SharePoint 2013 to have different default pages for different groups.

I'm using both of the solutions listed above on the same site to meet different needs.
I have one Promoted Links list that provides 'activity' links for a number of different user types. In order to keep the user experience simple for users I'm setting permissions on individual items in the Promoted Links list to hide specific tiles/links from groups that don't need to see them.
On the list, you need to break permissions with the site, then change the permissions on the specific tiles you're 'hiding'.
I'm using SharePoint security groups to set permissions.
I'm using a second list to provide additional links on the page, but want to hide some of the links - sort of an active/inactive thing. Rather than adding a new field (which I haven't tested yet) I'm using the Order field as a filter. For example: If Order is less than 100, show them.
You can create the new view either in the browser (the 'Standard View' template will give you a tile view - surprisingly) or use the solution above for adding a view using SharePoint Designer. Either method will allow you to set a filter, sort, etc.
Alternatively, if you want to create another list type view, you can create a new view and use 'All Promoted Links' as a starting point.

You can create different views for different users using SharePoint Designer.
Below are the step by step guides.
Click on any blank region of the Promoted Links. This will show the ribbon for that Promoted Link.
Click List tab on the ribbon.
Click Create View.
Click Custom View in SharePoint Designer
Allow it to open in SharePoint Designer.
Give a name for your view, e.g. Test and click OK. By default, SharePoint designer takes Tiles view.
Close SharePoint designer and go back to your Promoted Links in browser.
Click the List Tab on ribbon.
Select the view you just created from the dropdown menu.
Click Modify View.
You can hide or display any link by giving a suitable condition for filter.

Actually the above thing is not possible in SharePoint.
For every user there will we same page in SharePoint but depending upon the group to which a user belongs we can hide and show a promoted links.
First create some groups and assign user to a particular groups and than change the permission of promoted groups to show/hide that particular group.

Related

Calendar List View in SharePoint Server 2019

In SharePoint 2019 I create a calendar by going to: Settings Wheel > Add an app > Calendar
How can I then create a list view for the calendar? Can this be done by going to Calendar > Edit List, then creating a new view with the list view format? If so, how?
Or do you need to create a seperate page and add the calendar to that page as a web part, then edit that web part (or something similar)?
By list view I mean a vertical list of calendar items that span from today's date to 12 months in advance. However, I am less concerned with the specifics of the date range and more concerned with the basic how to. Thanks.
If you've been using Modern views and pages, the SharePoint calendar is likely very confusing because it still uses the "classic" view, even if the entire rest of your site is using the Modern UI.
Go open your calendar list to its default view.
In the upper left-hand corner, click on the small "Calendar" tab (see screenshot)
This will bring up the calendar "ribbon", and from there you have multiple View options to either edit the current view or create a new one (see screenshot)
For more details on List View creation, see https://support.office.com/en-us/article/create-change-or-delete-a-view-of-a-list-or-library-27ae65b8-bc5b-4949-b29b-4ee87144a9c9#OfficeVersion=2016,_2013,_2010 -- be sure to not actually look at the version of this page for SP2019, as it assumes you are editing a modern list.

Column level security in SharePoint 2013

I have a list (Employee Details) having six columns
ID
Name
Address
department
Passport Number
Mobile Number.
Now, for security purpose I want to hide some columns
(ex-Passport Number, Mobile Number) for specific group of people. How can we achieve this?
If you want to achieve this at view level. Follow these steps.
Create different view based on your requirement. Remove unwanted
columns from view.
Go to site settings --> People and Group --> Groups --> New --> New Group.
Give the name and choose the permission level for group members . Click OK.
Open your group --> new --> add users to this group.
Go back to your list.
Click on edit page and go to your web part properties.
Go to Advanced.
In Target Audiences, select the person or group. Click OK. Now, only the persons in target audiences will be able to see that view.
Once verified, Publish the page.
This is not possible out of the box. You need to use 3rd Party tools or code you own solution. There are very good articles out there. One example is
Column Level Security in SharePoint
How to: Create a Custom Field Type and Field Control
You need to create a Custom Field Type which can be security trimmed within your code.

SharePoint DropDown List Filter

I want to be able to filter a SharePoint list based on the values present (easy by clicking the filter button at the top of the list for each column). However I'd like to give options in a drop down menu and once chosen the list would be refilted based on the options I give. Is this possibile to do in the browser or would it require designer or actual code? Thank you.
This is all SharePoint 2010 Enterprise Server knowledge; I've never used 2007.
What #Ryan is alluding to here is that you can click a down-arrow on most list columns to filter them. One caveat is that if the column is multi-select, it won't display a drop-down. (SharePoint doesn't know how to group, filter, or sort on multi-select columns.) Another caveat could be that if you're displaying the list items in such a way that their headings don't appear (such as in a List View web part, or maybe in some of the styles...) you obviously won't be able to filter.
A solution might be to use a "SharePoint List Filter" web part, which uses a list column as the source for filter values which can then be sent to other web parts -- such as a List View web part. Presumably, you could use the list you're intending to filter as a source for the Filter web part itself. From a UX perspective maybe this might help you display the list with different styling, but still get the drop-down filter directly in the content area.
A caveat with the "SharePoint List Filter" web part is that it's not actually a drop-down per se, but instead shows a little filter icon that pops up a dialog in which users then have to select a value.
Note there's also the "Managed Metadata Navigation" feature that would give users dropdowns (for e.g. choice columns) and metadata filter fields (for managed metadata columns). These show up in the Quick Launch (left-nav area) if configured on the list/library settings. The feature must first be enabled on the site.

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

SharePoint 2010: Ribbon

I am new to SharePoint. I was hoping you can point me to the right direction to start with.
Here is what I have and am trying to do:
I have one top level site and many sub-sites.
A top level site and all sub-sites have a list called "Account"
I want to add a new Import from Excel Robbon button to the Account List\List Tools\Items\New for all sub-sites and not for the top level site
When user clicks on the newly added button, I want to display a dialog window which can allow users to browse an excel file on their computer
What would be the best and easiest way for me to add the ribbon button along with the import form to all sub-sites only for the Account list?
Thank you :)
I would suggest using a different content type for the lists in the subsite, one derived from the top level content type. This way you can easily create a ribbon button and assign it to the new content type only

Resources