Bookmark sharing and "Force Prompts on Startup" option
I notice a strange behaviour in my application running with DS 1.3 SP 01; working with Chrome Version 36 and launching the app from the BI Launchpad on BO server:
The application has the option "Force Prompts on Startup" set to TRUE.
When I share a saved bookmark, then a popup opens with the URL and the hyperlink "Open Link". So far, so good... Once I click on the link "Open Link" a new Chrome tab is openend and the application is loaded in the correct navigation state and with the correct variable values - but without showing the initial prompts screen!
If I then do any interaction, e. g. clicking a button, the initial prompts screen is showing up and the variables are filled with the (correct) values from the saved bookmark !? Well, I could confirm that prompts screen with "OK" and then it disappears and the script action from the button is executed correctly.
But... I would assume, that either:
a) the prompts screen is shown directly after opening the link (like it is the case if you perform the "Load Bookmark" operation)
b) not shown at all
Do you notice a similar behaviour in your application or can you explain, why this happens?
Philipp Hinnah replied
I found the solution:
The problem was with a commented coding in the onVariableInitialization() !
It seems, that once you have any lines of code (no matter if commented or not) in the onVariableInitialization(), the described problem occurs.
Now, after I have fully deleted the onVariableInitialization(), the prompt screen is shown directly after opening the bookmark link (as I would have expected because of the "Force Prompt on Startup" setting set to TRUE).