Reputation: 36984
I create scaffold in cq5. I see it in my miscadmin by this url
miscadmin#/etc/scaffolding/myfirstscaffold
I fill fields - but page doesn't create.
How to know why?
when I click on button1 I don't see result
Upvotes: 0
Views: 1322
Reputation: 9281
With the given info, the only issues which i can guess of is,
i.e., in case you want to store it as a property called "foo" in "jcr:content" then provide the name as "./jcr:content/foo" and not as "./foo"(which is how we generally provide the value for the property "name" for widgets in the components dialog). Else ConstraintViolationException may be thrown.
Even you find that the issue is still there, then check the network tab in devtools(F12) and provide the response for the POST request to /content/home/en/*
Upvotes: 1
Reputation: 13
I'm guessing the problem could be with the target template you have chosen. Try debugging by pressing F12 and look for any error during the sling Post operation when u hit create.
Upvotes: 0