Bookshelf Home | Contents | Index | PDF |
Siebel Advisor API Reference > Callout Point Functions for Siebel Advisor > COP_PagesetVersionCheckUsageCOP_PagesetVersionCheck is called when a user tries to reopen an item from a saved order that is out of date. The application compares the current pageset version to the pageset version of the saved configuration. Set the data version of a pageset in the Pageset UI Registry file (\pg\pagesetID_i.htm) using the InitPagesetVersion function. Use the COP_PagesetVersionCheck function to determine the action that occurs when a user tries to link back from an order to a pageset that is out of date in a browser-based application. If the COP_PagesetVersionCheck function returns TRUE, the pageset continues loading. If the COP_PagesetVersionCheck function returns FALSE, the pageset does not load. SyntaxCOP_PagesetVersionCheck(argObj)
Examplefunction COP_PagesetDataVersionCheck(argObj) // Checks to see how out of date the item is. If it is too if(parseFloat(argObj["linkbackVersion"] )< 3.0) { retVal = confirm("The item you are trying to edit may be out of date.\n Do you wish to continue?"); |
Siebel Advisor API Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |