Dear Sitecore Family,
A very small yet useful post today.
Sometime back, we saw how to add a Component with a DataSource. In case you missed it, here’s how we do it.
When we add a presentation Component from Page Editor which requires a Datasource, we need to go and Set associated content for it.
Now, for a Business user, its difficult to know that he or she needs to select a Datasource, in case we have some good documentation for it, then its ok. So it becomes the responsibility of the developer, to make things easy for the Business User.
How do we make things easy for the Page Editor User/Business User?
While creating the Sublayout, we are provided with an option as shown below:
After this, whenever the Business User tries to add that particular component onto the page, he/she will find the checkbox to be disabled.
And, on adding it on the page, the Properties Dialog will open immediately,
which in a way, notifies the Business User that some action needs to be taken — Add a Datasource.
Hope you liked the post!
Happy Sitecoring! 🙂