I am trying to configure UI views in a Data Type using the UX tab. However, I am unable to create subtabs (partial views) within the Data Type UX configuration.
The same functionality works as expected in the Case Type UX tab, where I can easily create and organize views using subtabs/partial views.
Is there any alternate approach to create subtabs (partial view–like structure) within the Data Type UX tab in Pega Platform?
Since this capability is available in Case Type UX but not in Data Type UX:
How can we achieve similar UI modularization in Data Types?
Yeah, Indeed the subtabs template is missing while creating a partial view in a data type. But, there is a way to overcome this.
Create a partial view with any other template and just save it.
Go to dev studio and open the view and mark it as custom.
Open any view in case type that is created using sub tabs template in dev studio.
Copy the view meta-data from case type view and place it in data class view.
Update the class names and view name correctly in the metadata and also update Dependencies accordingly.
Now, if you switch back to App Studio, you can see that your data type view is changed to sub tabs template and you can add tabs inside it. But, I didn’t check if it really works if we use this view in UI. Please confirm if it is working. If it is not working, may be that is the reason, the template is not provided in the first place. But, if it is working, then it may be a bug in the product.
@Kamil_Janeczek, Yeah, that risk is always there if we are updating view metadata manually. Apologies for not mentioning that earlier in my response. Is there any reason why the sub tabs layout is not present while creating partial views in data type?
@AshwinBharatha Are you in the User Experience Expert Circle? I would like to move this under that area, so it can be found with other Constellation questions. However, if you are not a member you won’t be able to respond (until you join), so don’t want to just move on you.