ShortCuts in PowerApps Portal.

Introduction:

Shortcuts are used to place child nodes throughout the portal’s sitemap(navigation) which simply points to other nodes that exist in your sitemap, or to URLs external to your portal.

In simple words, you can add child links in navigation without having relation with parent node.

Use Case:

  • We have two parent pages- “Suggestion Box” and “Get in Touch”. 
  • Both are child pages of another page- “Home”. 
  • Let’s say we want to add the “Get in Touch” page under “Suggestion Box” in the Sitemap(navigation).

Steps to create a shortcut

  1. Go to Portal Management app.
  2. Go to Shortcuts and click on “+New”
  1. Enter details and save the record.

Attribute Details:

Name Name for the shortcut.
Website The website that the shortcut belongs to.
Parent Page The parent webpage of the shortcut in the sitemap. The shortcut will be added to the sitemap as a child of this page.
External URLURL outside of your organization.
Web PageSelect the webpage of the portal. (select webpage which you want to add as child node)
Web Fileweb file of the portal. (select web file if you want to add web file as child node)
TitleThe title for the shortcut. This is the name that will appear in the navigation. If left blank, the name of the shortcut record will be shown instead.
  1. Navigate to the portal to see changes
    • you should see a new child node named “Get in Touch” under “Suggestion Box”.
  • If you click on “Get in Touch” it will redirect you to that page

NOTE:

  • A shortcut can only have value in one of the ‘Target’ fields (External URL, Web Page, Web File). If more than one target attribute exists for a shortcut, the shortcut will just take the first one, ignoring all others. 
  • If your child node is not visible even after creating a shortcut try the below things.
  1. Clear the cache of portal. (<portal url>/_services/about)

Even after clearing the cache of the portal if it is not visible then follow the below steps.

  1. Go to Primary Navigation web link set –> Go to Links tab –> select and open the parent link.
  1. Enable “Display Page Child Links” and save the record.

You should see the child node now.

Leave a Reply

Your email address will not be published. Required fields are marked *