DropdownTags not working correctly after redirect to same screen pattern
Question
Application Type
Reactive
Service Studio Version
11.14.16 (Build 60354)
Platform Version
11.15.0 (Build 34858)

Hi all,

In our project, after saving a record, we use the redirect to same page pattern (to do a full page reload), but:

1) In first page load, values are correctly loaded into DropdownTags widget;

2) After saving record, we do a redirect to the current screen and the page reloads but DropdownTags widget will be empty (no values at all)

3) If we do a browser F5, values will be correcly loaded to DropdownTags widget.

Note: I see all XHR requests to be the same after a F5 reload or redirect to same page.


I've attached OML file with example.

Playground1.oml

Hi Tiago,

I updated the .oml please take a look.

In this update I added a check IsDateFetched of GetPersonById to make sure it fetched the data then render the widget.

Regards,

Khuong

Playground1.oml

Hi Khuong,

Thank you so much. After viewing your solution, became obvious but never thought doing it :)

Regards,

Tiago

Hi Tiago,

You're welcome and glad that it helped you.

Cheers,

Khuong

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.