I am trying to add an option to the GP Edit console so that I can set the colour of a users background.
I have the following code, which is imported without error, but the policy is not showing.
I also tried changing categoryname="Desktop" to categoryname="TEST" to see if the file was being read, and the folder 'TEST' was being added, but again with no policy.
Can someone please help me find out what is wrong? Thanks
CLASS USER
CATEGORY !!categoryname
KEYNAME "Control Panel\Colors"
POLICY !!policyname
EXPLAIN !!explaintext
PART !!labeltext DROPDOWNLIST REQUIRED
VALUENAME "Background"
ITEMLIST
NAME "Black" VALUE "0 0 0"
NAME "Blue" VALUE "58 110 165"
END ITEMLIST
END PART
END POLICY
END CATEGORY
[strings]
categoryname="Desktop"
policyname="Set the desktop background colour"
explaintext="This policy sets the background colour of the desktop."
labeltext="Choose a colour"
I have found the answer to this question.
By default, the GP Editor only shows settings that can be fully managed by Group Policy (those that can be set, and that the user cannot change), as opposed to ones those can be partially managed (where GP can set them, but the user can then edit them).
To show both types of policies, follow these steps -
In the GP Editor, first left click (so that it is in focus) and then right click 'Administrative Templates' under 'User Configuration'.
Click 'View -> Filtering...'
Uncheck 'Only show policy settings that can be fully managed'
Click 'OK', hit 'F5' to refresh the GP Editor, and go look for your policy.
Also see this article on TechNet - http://technet.microsoft.com/en-us/library/cc739211%28v=ws.10%29.aspx
Related
The ISecurityInformation interface can be used to display permissions for:
an object,
a group, or
a user name.
If the SI_ADVANCED flag is set when calling GetObjectInformation, the Advanced button becomes available.
After clicking Advanced:
a Principal can be selected
and then the View or Edit buttons become available (also contingent on the flags set when GetObjectInformation is called).
Clicking Edit or View will bring up the Permission Entry dialog. On this dialog there is another link that says Show advanced permissions.
Regardless of the flag combination that I set when initializing dwFlags, I am unable to get anything to display on the second Advanced permissions dialog.
To see the information that I am attempting to glean, right-click on any file in Windows Explorer then select
Properties
Security
Advanced
[any Principal]
View
Show advanced permissions.
I am trying to gain access to this same information from within my implementation of ISecurityInformation. I have tried just about every flag listed in the documentation of the SI_OBJECT_INFO, and various combinations, with no success. Changing these flags does alter the layout of the Permission Entry dialog but the actual content of the Advanced permissions area is always blank.
Is there something else that I need to initialize when instantiating the ISecurityInformation interface?
I was able to resolve this by updating the implementation of GetAccessRights as shown at http://www.codeproject.com/Articles/10811/The-Windows-Access-Control-Model-Part. The problem lied with the implementation of GetAccessRights, not GetObjectInformation.
Carousel items in page editor are displaying "sitecore/shell/themes/standard/images/pageeditor/bg_hidden_rendering.png" as the image url instead of the datasource url. Has anyone seen this issue before and know how to resolve?
This is how it should display
The screenshot you've attached shows that you have some personalization rules configured for your Hero Background Content component.
On your screenshot you're seeing view of for the Default condition (and there is one more condition - you can tell it cause there is 2/2 near the condition name).
Most probably your component is hidden by default and only displayed when some conditions are met.
You can switch to the second condition by pressing up and down arrows near 2/2.
You can also click on the 4th icon above (2 persons icon) to check what kind of conditions are defined, edit / add / remove conditions.
As we know Menu Item is of three type (Display,Action & Output). In action type we we write classes which runs in background. Action type menu item is attached to a form but in the drop down the menu item is not appearing, what could be the problem? Is there any property which sets action menu-item to show or not?
Please note that it is a scenario based question. I don't have any code for this to share. Thanks
It could be several things.
First of all, are you testing with a user having System Administrator role? If not, security will apply. Then, if your menu item isn't allowed in one of your roles (menu item in a privilege which is in a duty which is in a role you have), you can't see it.
The other common issue is form personalization. So, in the contextual menu over your form, choose personalize and with buttons on top right, restore the form. You will have to close and reopen the form then.
beginner question for sitecore about settings the right.
So I have an item is open in the page editor.
The renderings on the page has bunch of icons on the ribbon. One of them called 'select the parent element (element name)'.
In my case when I click on it, I am presented with the placeholder with button 'add here' and the ribbon with some component buttons that a user can use to add the controls.
So, QUESTION:
"how I add access to the button on that ribbon for certain role? Where do I set it up? "
For some certain role that placeholder's ribbon is completely empty, including there is no button 'select the parent element' even though
i know there is a parent element.
thank you very much for help,
HF
Here are the screenshots (no icons on the placeholder ribbon, and the user's rights:
enter image description here
And here is how that looks for the admin:
All the settings for the Page Editor are held in the Core database. So in the Sitecore Desktop, switch to the core database and open up the Content Editor.
Navigate to : /sitecore/content/Applications/WebEdit
This item holds the items that make up the page editor. To edit the ribbon menues, go to:
/sitecore/content/Applications/WebEdit/Ribbons
I don't remember seeing that particular button in the Core database, so this is likely a built-in feature that requires the user to have one of the built-in permissions.
The first thing I would check is that Designing is turned on. Have the user go to the 'View' tab in Page Editor and make sure they have checked the 'Designing' checkbox.
If that doesn't work, it sounds like the user you have does not have design access to the page. I would examine the inherited roles using the User Manager and check if they have the Sitecore Designer role inherited.
It is possible they just need to be provided the correct role in the system so that they can access the buttons.
Have you tried the "Sitecore Client developing role"?
Also, for the blue arrow drop list location, in order for the rendering button to show up in that location, you have to check whether the button in the webedit folder under core database(/sitecore/content/Applications/WebEdit/Default Rendering Buttons). The Type field needs to be "Common" in order to show up in the blue arrow droplist.
Example can be the "Edit related item" (/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Edit related item) shows up in the blue arrow droplist.
I can't seem to click the "Editing" "Designing" "Controls" "Navigation bar" checkboxes in the View ribbon on the Page Editor. Is this a permission thing? Haven't found a way to enable it (I have it enabled on a mirror/development version so I know it works)
Thanks
Apparently for anyone checking this out, if you don't have the appropriate item commands in your Commands.config file, then they will neither enable or disable these options.
So the solution is to check your Commands.config file and make sure you have the appropriate "webedit:toggleeditvisibility", etc. commands in there.
Must be a permissions thing. See if your user is a member of sitecore\Author and sitecore\Designer, if you're not using a user account marked "Is Administrator"