Hybris SmartEdit - grant user edit rights just for one content page - sap-commerce-cloud

I'd like to let some of our staff edit one of the pages on our website which is build on SAP Hybris 6.7, but I can't find the way to achieve this.
For example one of the pages has Page ID cmsitem_00016005 (see atached screenshot) and I'd like the user to be able to login to SmartEdit and then edit ONLY this page. Is this even possible?
JF
Smartedit screenshot for cmsitem_00016005

Authorization working type based in hybris. You can create new page type (item.xml) then set rights for it.
Dirty solution: using validator for checking custom user rights.

Related

I am getting page not found on my hybris newly created b2b website using hybris cms cockpit

I have newly created a b2b accelerator website and included catalog, catalog version, category and products, personalization etc. when I am trying to live edit staged version adding home page into it then it is redirecting me to login prompt and if I login then the page not found message showing. I am new at hybris. I don't know what could be reason of prompting login while attempting to live edit. Even using smartedit editing also has the same manner.
I would be very grateful if anybody can help me regrading this issue. I didn't find any tutorial how to customize b2b accelerator website making configuration.
When you see a generic hybris "page not found message" the url you called will most probably not be registered in your storefront. When you open your cms site in hmc/backoffice there is an attribute called "URL pattern". This attribute holds a list of strings, which are regular expressions. Every request you fire against the storefront has to match at least one of those regular expressions. That way, you can have more than one site on one hybris server.
E.g. there are the sites electronics, apparel, powertools, all available on the same machine but using different urls: http://electronics.local:9001/, http://apparel.local:9001/ and so on.

Custom Welcome Screen in Dynamics CRM

I Want to Show custom welcome screen when a user logs in to Dynamics CRM 2016. I searched and i just got how to disable welcome screen tour but i couldn't find how to show my own custom screen (message or HTML).
Any help is appreciated.
Thanks
Make a dashboard with a single large HTML web resource.
Place your content inside that HTML web resource.
Set that dashboard as the default for new users. Display a specific dashboard by default for a specific user role
You can also add your welcome page as HTML web resource, add its link to your sitemap and set this sitemap subarea as a default tab for every user.
EDIT (detailed description):
Create custom HTML web resource and publish it in CRM.
Edit your sitemap to contain link to newly created web resource. Sample configuration below:
Sample
In my case my web resource HTML name is "new_welcome.html"
Go to user's personal options and set your new site.map position to be your user's default tab. You may do this with CRM interface (separately for every user :()) or with the tools for personal options mass update (for example with User Settings Utility from XrmToolBox)
Sample results of above mentioned operations:
Solution of you problem is Announcements.
Its easy to configure and easy to circulate the information across all the users.
Follow the below links for more information about Announcement,
https://www.microsoft.com/en-us/dynamics/crm-customer-center/broadcast-announcements-to-an-entire-organization.aspx
I would suggest not to use announcements because of the following reasons:
It is legacy functionality from CRM 2011 version.
It does not support rich text formatting or html components, images, etc.
You still need to create custom web resource to present it to the end user (so from the work effort perspective it also does not make sense)

show administration theme when editing page in drupal

I am using a custom theme for the front end of my drupal website.I created it by modifying garland theme.And I am using garland as the admin theme.
When I try to edit a page from admin it shows the edit page with my custom theme (http://example.com/node/2/edit?destination=admin%2Fcontent%2Fnode). And It breaks up the layout.
I want to show the admin theme for all the admin tasks. This problem also occurs on the blocks page (http://example.com/admin/build/block).
Is there any custom module or core hack to show admin theme when editing pages.
If you want to use admin theme by non-admin users you must give permissions to that user: Permitions->System->View the administration theme
Be sure that you check the option in the page example.com/admin/settings/admin
To get the admin theme showing for non-admin users, I went to admin/people/permissions/list and checked the "View the administration theme" box for all roles.
Sounds simple except that the Filter list wasn't showing that entry when I typed theme, so it took me awhile to find it. Finally I used the browser find to find all instances of the word "theme".
Or, you could type "System" in the Filter list to show only a few options in the relevant category.
You can use admin theme module, download and install it , the go to permission in dmin/people/permissions then in Administration theme set permission to waht user you want by checking Access administration theme.
Then goto http://chapboo.com/admin/appearance in bottom of the page in custom page add
admin/*
node/add/*
node/*/edit
and finally clear the cache
You have to check the checkbox under:
exemple.com/admin/appearance

how to set different views for admin and user

Hi I am little new to SharePoint. Here is my question
How can we make different views for administrator VS logged in user. For instance I need to display the
quicklaunch only to admin and not for user. And user should not see site actions tab.
How can we set this. Please can anyone come up with solution or any blog that we can refer?
Thanks in advance.
This blog will help with code identifying whether a user is an admin (or even just owner) http://blogs.tamtam.nl/duarte/2008/12/09/Sharepoint+How+To+Verify+If+A+User+Is+Site+Administrator.aspx
You can then create a control that uses this condition to display or hide content. See my blog here for an example: http://jcapka.blogspot.com/2009/02/handy-hiding-panel.html
You can also use the built in SPSecurityTrimmedControl but it does not provide a means of explicitly checking if a user is an administrator.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.aspx

Update panel error in custom page when logging with a user other than the administrator

I made a custom page and added it to a MOSS 2007 site.
the custom page has an update panel and some ajax controls
when I'm logged in as an administrator with full control permissions, the page works fine.
but if another user with even Full control permission logs in and browse the page, an error appears:
The control with ID 'UpdatePanel2' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
where UpdatePanel2 id the id of the update panel in the page, and the strange thing is that the master page of the site has a script manager addded to it.
so what can be the reason of this ?
thanks
This is one of the Common Behaviour when you dont approve the changes of the MasterPage after chaning the master page through SharePoint designer. To resolve this problem make sure that you have approved the changes of the MasterPage you did. Usually admin has fullpermission to view the unapproved changes as well, while normal users dont.

Resources