You have a company directory, for example, and you want to be able to filter employees in the company directory based a “unit” property. To do this you need to create a new unit property in the User Profile Service.
- Login to Central Admin
- Go to Manage Service Applications
- Go to User Profile Service
- Select Manage User Properties
- Add a new property
- Close User Profile Service
- Add a new managed property that maps to the People Property you just added.
You create a custom form or are using a SharePoint list form to collect feedback and want to advertise the link to the form using a “button” on a SharePoint page.
- Add an HTML Form Webpart to the page
- Click on “Source Editor”
- Add any html and text you want
- Add the submit button using this code:
Intranet Development Notes – Kuali Research Question Custom Form
You’ve created an intranet page that searches a specific list. You have created a custom display template where an end user clicks on the title to see more details. The default “Close” button (<SharePoint:GoBackButton runat=”server: ControlMode=”Display” ID=”gobackbutton2″/>), if clicked, returns the user to the entire list. You would prefer the user be returned to the intranet search page, not the list.
To do this…
- Open the display template in Notepad++ or SharePoint Designer
- Delete the default SharePoint close button and add you own with html code setting the location.href property to the search page.
For example; <input type=”button” value=”close” onclick=”location.href=’http://www.yoursitenamehere.com'”/>
VERY tedious to set this up, but no custom coding. I’m sure there is a better way to do this, but after beating my head against the wall long enough, this is what I came up with for when you want a choice column for “States” to then only choice applicable “Cities” to choose from.
- Custom InfoPath Form
- Create Choice field called “State” and manually enter the choices. This will be the source field.
- Create a choice field for each “City” and manually enter the choices. So there would be a column for “Alabama Cities”, a column for “Colorado Cities”, a column for “Kansas Cities”, etc, etc.
- Create a sections on the form for each City field.
- Add rules to hide the City field if the source field does not equal the state. So, “Alabama Cities” section would be hidden unless “State” = “Alabama”, etc.
Really a lot of work, but easy.