Skip to main content
Nintex Community Menu Bar
Question

Link to Mobile Panel


Forum|alt.badge.img+3

Hi - I’m trying to get a link to a specific panel within a mobile page - something like this:

/apex/ui?page=test&main_panel=detail&id=a0H11000008k1GF


Is this possible ?

Translate
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Forum|alt.badge.img+3

Here’s the solution I came up with:

(function(skuid){ var $ = skuid.$; skuid.events.subscribe('skuidMobileReady',function(){ var eventid = getURLParameter('id'); if (eventid !== null){ var m1 = skuid.model.getModel('SelectedEvent'); var currentEventCondition = m1.getConditionByName('currentEvent'); m1.setCondition(currentEventCondition,eventid); m1.updateData(); var HideCardEditSnippet = skuid.snippet.getSnippet('hidecardeditsnip'); HideCardEditSnippet(); skuid.mobile.setMainPanel('Detail'); } }); })(skuid); function getURLParameter(name) { return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/+/g, '%20'))||null; }


Seems to work fine - at this point I’m just re-directing to a specified panel - ‘Detail’ but this could easily be modified to switch to a panel named as a parameter.

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

Glad you were able to work this out.  I was going to answer saying this wasn’t possible. But you have proved me wrong… 

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings