Hi, I am using a record type for creating the readonly grid, I am trying to change the language of the filter label once the user interacts in the parent interface. As per current design, we cannot pass rule inputs to the record type. I tried refreshing the child interface using a!refreshvariable(), however the problem still persists and label value doesnt change.
Discussion posts and replies are publicly visible
I don't think this can be done properly. Just curious, why do you need to change the label of the filter dynamically?
If you only need a limited set of filters, you could always just create a few filters with different labels but that solution doesn't scale.
we are changing the language of the filter labels based on the user selection. we have button to change the language from French to English or vice versa.
As per my current design i am storing the updated value of the language to the database and while evaluating the language for filter label , I am reading it from DB. The issue with this approach is , user will have to refresh the webpage unlike the rest of interface.
Why not just use userlocale() function to get the current locale instead of storing it in the database?
a!updateprofile() is not able to update the userlocale(), with updating userlocale we are also required to refresh the webpage.
Why aren't you able to update the locale with a!updateProfile()?
userlocale() is not getting updated and any error are not reported while doing the action, and using updateuserprofile() wont resolve the issue
Why doesn't updateuserprofile work exactly?
What kind of error do you get?
no error is coming up, it wont update the locale value for the loggedinuser)
So this is using embedded interfaces? That's odd. Perhaps some permission issue.
Did you test using startProcess with the Update User Profile node running as admin by any chance?