Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Logging into mobile app while Offline is not behaving properly

SA-29892

Summary



In Sales Automation mobile application, the following offline functionalities are not working properly:
 
  1. Not able to create Opportunity in offline
  2. User name is not visible after killing and relaxing into the app.


Error Messages



Not Applicable


Steps to Reproduce

  1. Login into the mobile app.
  2. All packaging happens and application comes up.
  3. Now logout or close the app and reopen the opp as the same user
  4. Application will show up but behaves weirdly.
  5. Like..Operator id will be missing.try to create an activity or opportunity (there are OSCO cases) it throw alert saying "cannot perform this operation while offline ".No scripts will get executed so no data is present in the list views of Wo screens.


Root Cause



A defect in Pegasystems’ code or rules: On re-login app is not behaving properly. Offline enabled case is throwing "Cannot perform this operation"

Resolution



Apply Hfix-30106 with following changes :

On second login, data pages are not loaded and its causing the issue. In pzpega_ui_doc_HCLoadManager.js, added the following code to load the data page in "onStatusUpdate" method: 

else{ 
if(status.event === undefined || status.event == theWindow.launchbox.PRPC.ClientStore.Event.SUCCEEDED){ 
if(status.event === undefined){ 
status.wasFullSync = true; 
status.upsertedItems = {"datapage": ["*"]}; 
status.deletedItems = {}; 


fireDataSyncEvent(args, status); 
}

 

Published November 20, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us