cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Visibility problem with styles on mashup

mateuszboc
1-Newbie

Visibility problem with styles on mashup

Hi!

I want to restrict visibility for some end users. So I removed "Users" group from 'Everyone' Organization. Than I give visibility for my organization using simple script:

for( var stylename in StyleDefinitions ) {

    var params = {

   

principal: organizationName /* STRING /,</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>principalType: 'Organization' / STRING */

    };

    // no return

    StyleDefinitions[stylename].AddVisibilityPermission(params);

}

But still, regular test user see all data, streams etc. on mashup but

there are no colors, no styles visible

. Where is the problem. Did I omit something that visibility permission I should also change?
1 REPLY 1

I have found solution for this. My organization were lacking visibility permission to PlatformSubsystem from Subsystems. Giving Visibility to this element resolve my problem. 

Announcements


Top Tags