You are viewing limited content. For full access, please sign in.

Question

Question

Custom Links in Forms Drop-Down Menu

asked on June 14, 2022

Does anyone know if it is possible (and if so, which file is used) to edit the drop-down menu in Forms to include a custom option linking to an internal knowledge-base or ticketing system?  This would just be used to give employees an easy way to find access to help from internal sources.

Forms Version 11 Update 2

Any suggestions are appreciated.

Thank you!

0 0

Answer

SELECTED ANSWER
replied on June 15, 2022 Show version history

I figured it out.

C:\Program Files\Laserfiche\Laserfiche Forms\Forms\Views\Shared\_LogOnPartial.cshtml

I made a copy of the file and named it as _LogOnPartial_ORIGINAL.cshtml to retain what was there before, and then I edited the _LogOnPartial.cshtml file to include the links I was trying to add.

Previously it said these three lines for the About and Logout sections with a separator: 

			<li><a href="#" onclick="window.open('@Url.Action("about", "home")', '_blank', 'toolbar=no, menubar=no, width=553,height=278,left=430,top=23');return false;">@Resources.STR_ABOUT</a></li>
			<li class="list-separator"></li>
			<li>@Html.ActionLink(@Resources.STR_LOG_OFF, "LogOff", "Account")</li>

 

I added additional lines for another separator and the links I wanted to add: 

			<li><a href="#" onclick="window.open('@Url.Action("about", "home")', '_blank', 'toolbar=no, menubar=no, width=553,height=278,left=430,top=23');return false;">@Resources.STR_ABOUT</a></li>
			<li class="list-separator"></li>
			<li><a href="https://URL GOES HERE" target="_blank">ServiceDesk</a></li>
			<li><a href="https://URL GOES HERE" target="_blank">KnowledgeBase</a></li>
			<li><a href="https://URL GOES HERE" target="_blank">Create Ticket</a></li>
			<li class="list-separator"></li>
			<li>@Html.ActionLink(@Resources.STR_LOG_OFF, "LogOff", "Account")</li>

 

End result, the menu now includes the custom links I wanted for our staff to seek help from our team internally:

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.