Forum - refreshPage function challenge
- This topic has 3 replies, 2 voices, and was last updated 9 months, 1 week ago by Jørgen Jegsen.
- June 10, 2022 at 10:09 am #73298Jørgen JegsenParticipant
I’m working on a new CloudApp, with the function of cancelling (a number of) poLines in a poline member set.
At the init state the lines are selected as
“Purchase Order Lines Set name pligt test sæt juni 2021 Set type itemized where )”
Then I cancel a number om poLines included in the set, and call refreshPage with the result of a blank list of poLines and
“Purchase Order Lines where )”
This i of course not what I want to happen.
Can I do anything different to come back to the original state/set of poLines?
Regards JørgenJune 14, 2022 at 9:22 am #73315Jørgen JegsenParticipant
Can anybody (at ExLibris) please answer my question?
Regards JørgenJune 14, 2022 at 12:36 pm #73317Mark GobatKeymaster
Jørgen, just for our own clarification:
The original list of po lines displayed are from a saved set in Alma, or the result of a search in Alma, or some other means provided by the Cloud App?
When the po lines are redisplayed after some have been cancelled, should the display include or exclude those that were just cancelled?
Thanks…June 15, 2022 at 7:00 am #73332Jørgen JegsenParticipant
The original list of po lines displayed are from a saved set in Alma. The thing is, that the Cloud App is filtering those po lines based on their status. Refreshing the page would give the user a better view of the remaining not (yet) cancelled po lines.
I hope you have at solution.
The Cloud App in question is by the way https://github.com/kb-dk/alma_cloud_app_legal-deposit_helper and is currently sent to you for approval.
- You must be logged in to reply to this topic.