Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible? Have a button hidden right now by css, but want to open it up to certain groups. I tried using a CEWP with a simple jQuery script as a test and couldn't get it to work. Is there a way to do this?

I know you can use a list and use target audience on that with a content query, but that won't work for this situation.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It was as simple as the question was stated. I was using jQuery and editing the css that way initially and it wasn't working. When I used a regular stylesheet with a CEWP it works perfectly.

share|improve this answer
    
Don't use a CEWP, use a Script editor webpart. All webparts support audiences. –  Christoffel de Gruyter Aug 18 at 21:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.