Forum - refreshPage function challenge

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #73298
    Jørgen Jegsen
    Participant

    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

    #73315
    Jørgen Jegsen
    Participant

    Hi again.

    Can anybody (at ExLibris) please answer my question?

    Regards Jørgen

    #73317
    Mark Gobat
    Keymaster

    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…

    #73332
    Jørgen Jegsen
    Participant

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.