Schema/Api to create new content or select existing content


#1

Enonic version: 6.15.5
OS: macOS 10.14.2

We have a requirement where we need to have a schema/ API for creating a help-tip content and provided with an option to select any previously created help-tip contents. A dialogue box to fill the content from scratch. I believe there was a similar feature in old cms.


#2

A bit unsure about the question here… You would have to create an XML scheme for your help-tip content type which will contain fields/inputs necessary for the content. Then you would fill out these fields for every new content when you create it in Content Studio.

If you need an option to select one of the existing contents then you’d add a Content Selector to the scheme.

You can read more about creating content type schemes here.


#3

Hi Charan.
Do you have a screenshot/illustration of what you are trying to create?