Rob Allen
Rob Allen

Reputation: 2921

sitecore: autopopulate sublayouts from disk

I have a bunch of user controls on disk that are basically sitecore sublayouts, but do not have corresponding sitecore sublayout entries. Is there an automated way to create all of these cause entering them by hand is not an option.

Upvotes: 0

Views: 68

Answers (2)

Dave
Dave

Reputation: 41

Use Sitecore Rocks plugin for Visual Studio. It can bind physical files to (new/existing) Sitecore items.

Upvotes: 4

Mark Cassidy
Mark Cassidy

Reputation: 5860

Nothing out of the box. @VIKRAM is right, you're going to have to write some import code if you want them in. That would only take you 10% of the way there however, there would be no obvious way to do the supporting meta architecture, datasource templates, placeholder settings, insert options and so on.

Your only real option, is creating them by hand. And you rule that out yourself.

Upvotes: 3

Related Questions