i have a page with name as generalInfo, which has a field title. this uses in a 
component with name general information which has fields like name, address and 
age.

how do i create this page which uses a component.

=========================
Her is my code 
=========================
curl https://cmsdev.callhealth.com/magnoliaAuthor/.rest/nodes/v1/website \
-H "Content-Type: application/json" \
-X PUT -i \
--user superuser:superuser \
--data \
'{
"name": "ceo-generalInfo",
"type": "mgnl:page",
"path": "/ceo-generalInfo",
"properties": [
{
"name": "title",
"type": "String",
"multiple": false,
"values": [
"General Infomation"
]
},
{
"name": "name",
"type": "String",
"multiple": false,
"values": [
"Kiran"
]
},
{
"name": "address",
"type": "String",
"multiple": false,
"values": [
"abc"
]
},
{
"name": "mgnl:template",
"type": "String",
"multiple": false,
"values": [
"generalInformation:pages/generalInformation"
]
}
]
}'

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=68fa44e7-f16b-4756-b34f-fe041ef33ff7


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to