import PTGP_APPCLASS_TILE:Tiles:Tile; class TILE_4 extends PTGP_APPCLASS_TILE:Tiles:Tile method TILE_4(); method getTileLiveData(); end-class; method TILE_4 %Super = create PTGP_APPCLASS_TILE:Tiles:Tile(); end-method; method getTileLiveData /+ Extends/implements PTGP_APPCLASS_TILE:Tiles:Tile.getTileLiveData +/ If IsUserInRole("SV_ROLE_1") Then /* Force Error Conditional to enable alternative destination URL */ %This.hasContent = False; %This.ImageReferenceField.Value = Image.CSK_LOGO_32; /* Set Destination URL - Label and Value */ %This.PreferencesUrlLabel = "My Preferences"; %This.PreferencesUrl = GenerateComponentPortalURL(%Portal, %Node, MenuName.PTGP_MENU, %Market, Component.PTGP_USERPREF_FL, "", ""); End-If; If IsUserInRole("SV_ROLE_2") Then /* Force Error Conditional to enable alternative destination URL */ %This.hasContent = False; %This.ImageReferenceField.Value = Image.CSK_LOGO_32; /* Set Destination URL - Label and Value */ %This.PreferencesUrlLabel = "Change My Password"; %This.PreferencesUrl = GenerateComponentPortalURL(%Portal, %Node, MenuName.MAINTAIN_SECURITY, %Market, Component.CHANGE_PASSWORD, "", ""); End-If; If IsUserInRole("SV_ROLE_3") Then /* Force Error Conditional to enable alternative destination URL */ %This.hasContent = False; %This.ImageReferenceField.Value = Image.CSK_LOGO_32; /* Set Destination URL - Label and Value */ %This.PreferencesUrlLabel = "Google Search"; %This.PreferencesUrl = "https://www.google.com"; End-If; end-method;