on 03-12-2015 4:30 PM
Hi,
I know the standard way of downloading attachments on agentry is by user request per separate attachment.
We are working with quite a lot of attachments and our users often find themselves in areas with low cellular network coverage.
What is the best practice to download all attachments with one sync?
They start their working day with wifi and can continue offline all day..
I've tried looping the triggering action (simulating multiple triggers for 1 document) for all attachments, but that doesn't seem a very performant way of syncing and results in a very unstable document exchange..
Downloading all attachments seems to be a crazy idea, but certainly doable. The idea is to return all the document content when you are doing the wo fetching. Some ABAP, java and agentry work need to be done. But before that, consider the data volume, if it is too big, it will cause issues like sync timeout, you also need to look at the timout settings. Small volume will be fine in this way.
Another option is to provide a "Download All" button for each wo or notif.
I have done both and they look fine so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The idea is not so crazy.
In the standard way of working technicians need to select every single attachment separately and wait approx 15-20 seconds for each transmission/selection.
They don't mind to wait a little longer in the morning when they can sync all at once over a wifi connection.
Document management by non-IT-professionals according to the cellular network coverage is not a strong base for mobile (document) solutions.
Fetching a required document in the middle of nowhere while standing in the mud could be troublesome and the inability to get it when connection fails could lead to safety issues.
There was a note released recently regarding downloading all documents during the fetch. Please review the following as it should provide a good overview on the steps.
2142473 - Ability to download documents synchronously in SAP Work Manager application
--Bill
Hi,
we performed the steps described in the document, but can't seem to get it working.
Made all the backend configurations and later on compared in eclipse with the agxz file.
We've tried to include the DocumentSyncRequest fetch in the Main Fetch.
Afterwards unchecked the previous and added the DoclinkRequest as subaction of the Transmit action.
To exclude any possible rules that mess up the process I've also tried to directly add the DocLinkSyncRequest as a subaction of transmit..
In all cases we don't see anything coming through in the backend..
2015/03/23 18:36:36.990: + Module=PM
2015/03/23 18:36:36.990: + Action=Transmit
2015/03/23 18:36:36.990: + Sub-Action Step='DocLinkRequest'
2015/03/23 18:36:36.990: + Module=PM
2015/03/23 18:36:36.990: + Action=DocLinkSyncRequest
2015/03/23 18:36:36.990: (104) Info: No action enable rule configured for this action.
2015/03/23 18:36:36.990: (109) Info: Begin CanExecute check for all steps.
2015/03/23 18:36:36.990: + Sub-Action Step='DocumentLinkSyncRequestTransmit'
2015/03/23 18:36:36.990: + Module=PM
2015/03/23 18:36:36.990: + Action=DocumentLinkSyncRequestTransmit
2015/03/23 18:36:36.990: (104) Info: No action enable rule configured for this action.
2015/03/23 18:36:36.990: (109) Info: Begin CanExecute check for all steps.
2015/03/23 18:36:36.990: (113) Info: End CanExecute check for all steps.
2015/03/23 18:36:36.990: (113) Info: End CanExecute check for all steps.
+ Module=PM
2015/03/23 18:37:52.537: + Action=Transmit
2015/03/23 18:37:52.537: + Client To Server Transmit='Transmit1'
2015/03/23 18:37:52.537: + ANGEL Connection=sgnt6210.tmvw.be:8081
2015/03/23 18:37:52.537: + ANGEL Connection=sgnt6210.tmvw.be:8081
2015/03/23 18:37:52.537: + ANGEL Vine=2871491244
2015/03/23 18:37:52.537: + Module=PM
2015/03/23 18:37:52.537: + Action=Transmit
2015/03/23 18:37:52.537: + Client To Server Transmit='Transmit1'
2015/03/23 18:37:52.537: + Module=PM
2015/03/23 18:37:52.537: + Action=Transmit
2015/03/23 18:37:52.537: + Sub-Action Step='DocLinkRequest'
2015/03/23 18:37:52.537: + Module=PM
2015/03/23 18:37:52.537: + Action=DocLinkSyncRequest
2015/03/23 18:37:52.537: (6) Info: Executing action for a single object.
2015/03/23 18:37:52.537: + Transaction Step='DocumentLinkSyncAdd'
2015/03/23 18:37:52.537: (8) Info: Begin step execution.
2015/03/23 18:37:52.553: (126) Transaction: 'DocumentLinkSyncAdd'. Screen Set: <NONE>. Target Object: (empty). Target Property: (empty). SubAction When Complete: <NONE>. SubAction Target: <NONE>.
2015/03/23 18:37:52.553: + Rule=InitialValuePushScenarioId
2015/03/23 18:37:52.553: + Function=@IF
2015/03/23 18:37:52.553: + Property=:>"DocumentMetaData" Object>"isBDS" Property
2015/03/23 18:37:52.553: Result<Boolean>= false
2015/03/23 18:37:52.553: + Property=:>"DocumentMetaData" Object>"isDMS" Property
2015/03/23 18:37:52.553: Result<Boolean>= false
2015/03/23 18:37:52.553: Result<String>= ''
2015/03/23 18:37:52.553: Result<String>= ''
2015/03/23 18:37:52.553: (11) Display Screen Set: <NONE>. Status: Action_Complete - Transaction valid. No screen set to be displayed
2015/03/23 18:37:52.553: (14) Sub-action: <NONE>. Info: Begin Transaction Step Sub-Action execution.
2015/03/23 18:37:52.553: (17) Sub-action: <NONE>. Status: Action_Complete.
2015/03/23 18:37:52.553: + Apply Step='Apply'
2015/03/23 18:37:52.553: (60) Info: Begin step execution.
2015/03/23 18:37:52.616: (64) Info: Perform pending updates.
2015/03/23 18:37:52.616: (65) Info: Perform save data.
2015/03/23 18:37:52.631: (67) Status: Action_Complete
If you are downloading all attachements then you can make it part of the fetch processing. This will of course increase the transmit time as attachments are being fetched during the process of downloading the Workorder data but then they will be available offline. You may also need to update the attachment object properties to indicate they are downloaded.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.