on 11-07-2011 11:25 AM
Hello, I'm customizing my workflow application and I need to add data that is showed in another screen...
The problem is that the method getCurrentMessageValueCollection() doesn't return me the values that I need when I'm on the start screen... Because they are used in another screen
Any solution to this problem?
Hi Marshal,
we can retrieve the data of the previous screen like this
here wt i was doing is im caling online query in StockPerMaterial screen and carrying the results to SPMResultTable Screen to prepare custom table
if(screenKey === "StockPerMaterial" && destScreenKey === "SPMResultTable")
{
var form = document.forms[destScreenKey + "Form"];
if (form)
{
var values = getCurrentMessageValueCollection();
var stockMVC = values.getData("MBOStockPerMaterial24LS");
}
here MBOStockPerMaterial24LS is the name of the screen from where i need to get the data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks usharohan,
But I already knew this. The problem is when the screens are unrelated. But I've found a "workaround", I linked the screens with a menu item button, and then I've hidden the menu item button (becaus this relation has no sense) modifying the workflow_jQueryMobileLookAndFeel.html file.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.