October 22, 2013
Recently I had a discussion with a collegue about the forms functionality in Service manager, while we both think this is a great functionality he was wondering if dynamic forms could be created.
Meaning the user selects item 1 and the following options are dynamically build depending on his / her choice. Too bad this is not possible.
But wait, it is ! Here’s how .
We recently had to use this functionality in order to workaround the limitation of presenting 2000 items on the user form. In one specific environment we have 20k users and allow the selection of the user by a query.
Unfortunately only 2000 items are shown and the search box is limited to the displayed results.
So here we go :
Here we have a form where the helpdesk can select a AD user
Now let’s say we want to add a searchstring for department so the helpdesk can selecting a user depending on his department. First we add a prompt
Then we need to modify the query result
You can also use the default token for the Portal user name, but here we use the Searchstring.
And verify the result
Okay now let’s create a query for the department in stead of a free text field. First Query :
Now modify the query for the user
And observe the result …
You have to push refresh in order to filter the results. But it works great. Can you image the possibilities ?
August 14, 2013
Today we create an alternative url for the service manager portal. In this case the portal is installed on 1 server.
1. Create an alias for the servername in DNS
So instead of SRVSCOR01.rdsolutions.local we’ll have helpdesk.rdsolutions.local
2. Create a new certificate with the correct name
Create the certificate from IIS
Portal Server -> IIS -> Server certificates -> Create domain certificate
Just follow the wizard.
3. Use the certificate in IIS
Make sure the cert is imported in the trusted root certification authority store on the client station.
Then select it in IIS on the portal server for SCSMWebcontentServer and Service Manager Portal.
Now modify the url in IIS for the Service Manager Portal, Application Setting.
4. Now create an alternate access mapping in SharePoint
SharePoint Central Administration -> Application Management -> Configure Alternate Mappings -> Select the Service Manager Portal URL -> Edit Public URLs -> and update the alternate URL
And test as a normal user
Now let’s add some url forwarding so we can use http://helpdesk.rdsolutions.local in stead of https://helpdesk.rdsolutions.local:444/smportal.
Verify the default IIS website is started and enable the Windows Authentication. In my case this was disabled.
Test the default website using IIS.
Now enable the redirection.
And test as normal user from a workstation.
And observe … the result !