Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to hide yellow ribbon and pick one option, JS/Settings pls., preferably JS pls.

Avatar

Level 8

Hello Experts,

Currently,

When for is rendering the yellow ribbon is coming take place and the users are picking any one option and they are continuing their work, but

Hide yellow ribbon.jpg

I want to

1) Hide the below showing yellow ribbon and

2) Any one option is active by default, preferably 2nd option,

Pls. let me know either (preferably) JS or settings to get my requirements pls

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 10

I think so.

I don't know what the "enable global object security policy" does. According to Adobe Help: Allows JavaScript globally through APIs, or trusts specific documents containing JavaScripts.

View solution in original post

7 Replies

Avatar

Level 10

Hi,

@ 1 & 2) Activate JavaScript in the app properties (Ctrl + K > JavaScript > Enable JavaScript).

Avatar

Level 8

Thank you.

1) You mean to say its as bleow?

Yellow ribbon.jpg

2) Also pls. let me know that i checked the other 2 check boxes with out having much knowledge about them, is it OK/safe?

3) So, you mean to say that, i need to ask all the users to set/check the above said check box in their local machines, right?

Thank you

Avatar

Level 10

There is no way to turn on JavaScript via scripting, it has to be turned on by the user.

If you need to there is a way to stop users filling in a form if JavaScript is disabled. You need to wrap your form in a subform that is set to "hidden" with code that unhides it when the form is opened. If JavaScript is off the user won't see the form and you can have a default message telling them to turn on JavaScript.

Here's a sample: https://workspaces.acrobat.com/?d=ymlPW2HMEWTn5lmxLFkDKA

For users I wouldn't recommend turning on the JavaScript debugger - if there is a script error it will pop up the console.

Avatar

Level 8

Thank you.

So, am good to go to ask users to check the first 2 check boxes of above showm my screen shot, right? Thank you.

And am kind of newbie to LC, hence i would not like to do the below, but Thank you for the trick

Avatar

Correct answer by
Level 10

I think so.

I don't know what the "enable global object security policy" does. According to Adobe Help: Allows JavaScript globally through APIs, or trusts specific documents containing JavaScripts.

Avatar

Level 8

OK, Thank you, i will go ahead and ask users to check the above said 2 check boxes are checked instead of seeing yellow ribbon and picking an option (for activating the JS)