Surendra Sharma

Surendra Sharma

Search This Blog

Thursday, November 17, 2016

How to add task page in Sitecore Control Panel



This article is about adding task link and option in Sitecore control panel.

Here are quick steps 


  •  Login to Sitecore Desktop mode.
  • Select CORE Database
  • Open Content Editor
  • Add a new task page “My Task Page” under item “/sitecore/content/Applications/Control Panel” which is inherited from “/sitecore/templates/Sitecore Client/Tasks/Task page”.
o    Task page has two fields
§  Header – Enter text of Task page section
§  Icon – Specify path of icon image

  •  You can add Task Link and Task Option under Task page.
  • Add a new task link “My Task Link” under item “/sitecore/content/Applications/Control Panel/My Task page” which is inherited from “/sitecore/templates/Sitecore Client/Tasks/Task link”.
o    Task Link has three fields
§  Click – Specify verb name
§  Header – Enter text of Task link section
§  Icon – Specify path of icon image

  • Add a new Task Option “My Task Option” under item “/sitecore/content/Applications/Control Panel/My Task page” which is inherited from “/sitecore/templates/Sitecore Client/Tasks/Task option”.
o    Task Link has four fields
§  Click – Specify verb name
§  Header – Enter text of Task link section
§  ID – Specified ID of this task option
§  URL – Specify link

 
I added 2 items under task page for testing as

task page
Task Page


and that’s it.

So after adding task link and task option, my Sitecore Control Panel looks as

control panel
Control Panel


As you can notice, there is vacant space in My Task Page region. So to remove this, I just move down “My Task Page” under “Reports” item in CORE database content tree.

By moving position of an item, my Sitecore Control Panel looks much better now as

updated control panel
Updated Control Panel


I hope you like this quick Sitecore lesson. Stay tuned for more Sitecore related articles.

Till that happy sitecoring :)

Please leave your comments or share this article if it’s useful for you.

Monday, November 14, 2016

How to add buttons in Sitecore Experience Platform



In one of my project requirement, I have to add buttons in Sitecore Experience Platform screen.

Here are quick steps 


  •  Login to Sitecore Desktop mode.
  • Select CORE Database
  • Open Content Editor
  • Add a new group “My LaunchPad Group” under item “/sitecore/client/Applications/Launchpad/PageSettings/Buttons” which is inherited from “/sitecore/client/Applications/Launchpad/PageSettings/Templates/LaunchPad-Group
  • Add required number of button items under "/sitecore/client/Applications/Launchpad/PageSettings/Buttons/My LaunchPad Group" which is inherited from "/sitecore/client/Applications/Launchpad/PageSettings/Templates/LaunchPad-Button"
·         There are 4 fields in each LanuchPad-Button item
o    Text – Text which is display under icon
o    Icon – Image for LuanchPad-Button
o    Link – Redirect link on the button and text
o    OpenNewTab – If checked, open the link in new browser tab

I added 3 buttons – external link, internal link and image as
 
Launchpad Items
Launchpad Items

Note :-
When you specify external link, put link value with “http://” like http://www.google.com
While for internal link, provide link value as item path like “/sitecore/content/Home”

That’s it.

So after adding these 3 buttons, my Sitecore Experience Platform looks as

sitecore experience platform
Buttons in Sitecore Experience Platform


I hope you like this quick Sitecore lesson. Stay tuned for more Sitecore related articles.

Till that happy sitecoring :)

Please leave your comments or share this article if it’s useful for you.

Mini MS-Paint in Sitecore

I was looking to my designer to update one Sitecore image and I come to know that he is on leave.

I decided to edit it myself as I can’t wait for a day.

I tried to google some of the image editing tool but to my surprise there is already one image editing tool available in Sitecore.

This is something new to me as a hidden gem in Sitecore. 

If you go to Sitecore desktop and visit to Start -> All Applications -> Image Editor then you will get a mini MS-Paint applications as


Image Editor Link
Image Editor Link



You can open any media library image here and can do below functionality

  • Open media library image
  • Crop the image
  • Resize the image
  • Flip image Vertically
  • Flip image Horizontally
  • Rotate 90 degree Right
  • Rotate 90 degree Left
  •  Save the image directly in media library item


Image Editor
Image Editor


Below is a default home page in Sitecore

Default Home Page
Default Home Page


But after resize, crop, flip horizontally and publishing the homepage image, this is how I get my home page now

Updated Sitecore Home Page
Updated Sitecore Home Page


Though there is MS-Paint is available in all windows computer which have lots of other features. But this tool allow you to edit directly in media library itself online and without need of any other image editing software. So for me this is a quick and handy tool.

I hope Sitecore provide more and more features in Image Editor in upcoming releases.

I hope you like this quick Sitecore lesson. Stay tuned for more Sitecore related articles.

Till that happy sitecoring :)

Please leave your comments or share this article if it’s useful for you.