Pass Entity to Role Based Home Page

0
Hi everybody, I'm struggling with the following problem. I have like three Role based homepages. All look different for the respected roles. The problem is that I'd like to add a Dataview to those pages which provides a specific attribute of a specialization. I.e. I have partners. The entity of the demo users are those partners. The partners inherit from system.user. When I use role based homepages all goes well. But when I add a dataview it keeps giving errors that I need to pass a "partner" object. I tried the following:  1) use a microflow to call the homepage based on checking if the role of the partner is x, y or z and then present that homepage. Works but than I'm not using the role based homepages anymore. 2) when I would like to fill the dataview using a microflow, I need to do the inheritance split. This results in problems that the end result is not always the specific partner type in the end. Hope you can help! Kind regards Laurens    
asked
2 answers
1

Is it in this case possible for you to create 3 different microflows that you use with the role based homepages? In every specific microflow you could then create the dataview object that is needed.

answered
1

Well, I think I solved it. I used the microflows to do an inheritance split and based on the entity type call a specific page. So I have three Microflows. Initially I thought that the split wasn't that good because in case I got a user which was not my specialization, I need to do something with it in the microflow. In my case, a home page without an entity. 

In the end I discovered that this behaviour is quite useful. If something goes wrong when a user is created, it just goes to a basic page which tells the user something went wrong. All solved :-) All works now based on role based homepages!

Thanks again!

answered