Default HTML5 portal, has button labelled “Create Request” which in default configuration opens the Generic Incident form to create Incident. The label creates confusion to user as it is used for Incident, not for Service Request.
We can change the label to “Create Incident” by modifying the Resource file as explained in this blog.
Note from Product team: “We allow the customers to modify their display strings from the resource files, but these changes can get replaced if any future updates contain addition of new strings and/or modifications in that resource file. Please set this expectation with the customer that they might will need to make these string changes again after such update(s). To preserve the modifications, you can keep the copy of modified resource file, which can be later used for comparing whenever the original file gets replaced.”
- Open SelfServicePortalResources.resx file in Notepad from C:inetpubsswwwrootSelfServicePortalApp_GlobalResources:
- Go to the following section:
- Change data name = “CreateIncident” and
tag to “Create Incident”
- Save the file and exit.
- Open Offerings.cshtml in Notepad from C:inetpubwwwrootSelfServicePortalViewsHome folder:
- Find “.CreateRequest” button section/tag and rename @Resources.SelfServicePortalResources.CreateRequest to @Resources.SelfServicePortalResources.CreateIncident
- Save and exit.
- Refresh or reopen the portal. The button should labelled as “Create Incident”.
This post first appeared on MSDN Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The MSDN Blogs., please read the originial post: here