YogeshSarsambe Member since 2016 10 posts
Posted: 9 months ago
Last activity: 9 months 3 weeks ago

How to Hide Default dashboard

Hi ,

I have a requirement to load the different Harness to work on based on the production level parameter of the logged in user. The Navigation Menu has below Harness/sections present in pyPortalHeader (New,Dashboard,Tasks,Search). The respective Harness should be visible based on the .pzProductionLevel parameter present in pxProcess of System page on clipboard. To implement this I have followed below approach.

1) created a Data page of Node level and it has a Data Transform as Source

2)The pages and classes of Data page contains and entry of Code-Pega-Process to pass the .pzProductionLevel parameter to the Data transform. The Data Transform will compare the value of passed .pzproductionlevel parameter and returns the respective value (e.g. if .pzProductionLevel = 2 then Set .Dashboard = false) so that the Harness associated with Dashboard will not be visible.

3)In Navigation Menu for the options mentioned (Dashboard,Tasks,Report,Search) Created a when rule for each respective MenuItem and mentioned in the General Tab of MenuItem's visibility condition so that after passing the logged in users .pzProductionLevel parameter if the Data Transform present in Data Page returns true then only it should be visible otherwise it should not be visible.

However after implementing this though the value for Dashboard in DT is set to False for .pzProductionLevel=2, while loading the Case Manager portal as initial Dashboard it is showing the Dashboard instead of making it invisible. The Dashboard is getting visible by default in all the other environments.

so can anyone help with fixing this issue. As result of above implementation it should not display the Dashboard as default (It should display the Harness/section of Menu only for which the DT returns the True value).



***Edited by Moderator Marissa to update platform capability tags****

Low-Code App Development Low-Code App Development Dev/Designer Studio User Interface
Share this page LinkedIn