Disabling "Create Content" button in WebUI

Hello,

So far I know rather a lot about using Nuxeo Studio with JSF UI, but the latest project that I am working on is targeted to use exclusively WebUI, which I don't know well yet.

So, the question is pretty much dumb: how do I deactivate “Create Content” button at the bottom right corner of WebUI ?

In the document type declaration in Modeler I've unchecked the checkbox “Show Create Child Action”, which, apparently doesn't have any effect on WebUI.

Thank you in advance!

P.S. Currently used version of WebUI is 1.0.1 since 1.0.2 is bugged: Document Creation elements are missing and thus I cant't add any documents on the platform.

0 votes

1 answers

583 views

ANSWER



AFAIK, there's no way to hide the “Create Content” button at the bottom right corner of WebUI at the moment. Main reason is this button potentially allow to create content anywhere. Not only in the current document.

Else

Currently used version of WebUI is 1.0.1 since 1.0.2 is bugged: Document Creation elements are missing and thus I cant't add any documents on the platform.

Could you give more reproduction steps? I can't reproduce and we'll be very happy to fix this.

0 votes



Hello grenard,

Thank you for the answer.

If it is not possible - do you have any other suggestions on how to block creation of additional content for particular folders? I think it can be done via correct Rights Management Setting, but in my opinion it will be way much slower.

As for WebUI - I just got the vanilla VM from here http://cdn.nuxeo.com/nuxeo-8.10/nuxeo-8.10-vm-vmware.zip And it doesn't work out from the box: when you try to create a document (whetever the type is) the creation popup will stay empty once you choose the document type, and you'll get following error in your browser's console:

Uncaught (in promise) {entity-type: "exception", code: "org.nuxeo.ecm.webengine.model.AdapterNotFoundException", status: 500, message: "Service emptyWithDefault not found for object: /nu…aces/Nuxeo%20Marketing%20Content of type Document"} Promise rejected (async) updateDocument @ elements.html:100081 complexObserverEffect @ elements.html:4712 effectEffects @ elements.html:4547 propertySetter @ elements.html:4531 setter @ elements.html:4610 _selectType @ elements.html:100089 handler @ elements.html:3606 decorated @ elements.html:7563 fire @ elements.html:4383 fire @ elements.html:3955 forward @ elements.html:4252 click @ elements.html:4237 handleNative @ elements.html:3845

01/16/2018

Ok, maybe you are missing latest HF?
01/16/2018

Yep, that was the issue, thank you.
01/17/2018