Friday 1 April 2016

Sitecore Package Designer – Dynamic Items + Dynamic Files



 Sitecore package designer allow us to add the following to our sitecore package:
  • Sitecore Items. 
  • Files (configuration, dlls, CSS... etc.).
  • Security accounts.

Also the above items can be added in two ways:
  • Static
  • Dynamic.



So you can use the first way if you know that you have specific items or specific location path Childs, but lets assume that you want to add items or files based on creation date query?!.

Here you can use the dynamic feature provided by Sitecore Package Designer; let see who we can add items or files dynamiccly:

·         Open Sitecore Package Designer.
·         Create new Sitecore Package Project.
·         From the add buttons section you can see the following options:
·         Security accounts.
·         Items dynamically
·         Files dynamically
·         Items statically
·         File statically

More can be found in the following screen shot:




·         Select items dynamically; then you can see window where you need to select the root item from sitecore content tree as you can see from the following screen shot:





·         After clicking select you can apply any of the following filters:
·         Item name filter with simple search, regular expression and wild card.
·         Creation date filter (specific period, past days)
·         Modification date filter (specific period, past days)
·         Publish date filter (specific period, past days)
·         Template filter
·         Created by filter
·         Updated by filter
·         Language Filter.

As you can see from the following screen shots:




·         Add the filters you need and click next
·         Enter the source name and now you can generate your package.


The files dynamically works the same as described for the items dynamically.

Hope this will help!

1 comment:

MS Azure Training in Hyderabad said...

I'm very happy to search out this information processing system. I would like to thank you for this fantastic read!!
Sitecore Online Training
Sitecore Training in Hyderabad

Post a Comment