Hello all!
I don't now how to explain this but i try.. The issue is regarding two custom entity lists.
I want open a record, and remember the view of the record.
So if i open a record from "Cancelled Workgroups" view (see picture 1). I want that record to remember its view and show other records from "Cancelled Workgroups" view and not "Active Workgroups" view (see picture 2).
What do i need to do to solve this issue?
Can i change the view based on GUID from the record i open?
Any ideas?
Thank you!
Best Regards
Kim Roar Bromark
Solved! Go to Solution.
Hi to you both @Krbromark and @OliverRodrigues.
Your solution with Custom Javascript on the entity list could work, @OliverRodrigues. We would use your short script to get the entity list view and add that to the URL as a parameter on the item action links. That's a great idea, thank you!
@Krbromark and I will work on it tomorrow and get back to you whether it works or not.
Cheers!
Ulrikke
Hi
I am just a bit curious on what you are showing on your second page? how or what view is showing up there?
My initial thoughts:
var selectViewControl = $(".view-toolbar").find(".view-select").find("li").find("ul");
var options = selectViewControl.find("li");
var selectedOption = options[selectedIndex];
if (!!selectedOption) {
$(selectedOption).find("a").trigger("click");
}
I hope this didn't make you more confused 😉
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Power Apps Portals Super User
The second page left navbar is build like this:
https://ulrikke.akerbak.com/2020/10/05/navigate-between-records/
My colleague write this blogpost today. Do you think your idea would stil work?
Best regards
Kim Roar Bromark
thanks, I will try to check that post and see how it's built
in the meantime, @UlrikkeAkerbæk any ideas here, can you check my proposal above to see if it would work?
cheers
Oliver
Power Apps Portals Super User
Hi to you both @Krbromark and @OliverRodrigues.
Your solution with Custom Javascript on the entity list could work, @OliverRodrigues. We would use your short script to get the entity list view and add that to the URL as a parameter on the item action links. That's a great idea, thank you!
@Krbromark and I will work on it tomorrow and get back to you whether it works or not.
Cheers!
Ulrikke
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
33 | |
24 | |
21 | |
8 | |
3 |