Forum - refreshPage function challenge
- This topic has 3 replies, 2 voices, and was last updated 9 months, 1 week ago by Jørgen Jegsen.
- AuthorPosts
- June 10, 2022 at 10:09 am #73298Jørgen JegsenParticipant
Hi there.
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ørgen
June 14, 2022 at 9:22 am #73315Jørgen JegsenParticipantHi again.
Can anybody (at ExLibris) please answer my question?
Regards Jørgen
June 14, 2022 at 12:36 pm #73317Mark GobatKeymasterJø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 JegsenParticipantHi there.
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.
Regards
Jørgen - AuthorPosts
- You must be logged in to reply to this topic.