AnsweredAssumed Answered

Create a form in share with fields of a custom metadata type

Question asked by falcon on Jun 30, 2009
Latest reply on Apr 17, 2014 by romschn
Hi all,
I want do a dashlet in Share to show a form that has the fields of a custom metadata.
For example, i have this in file web-client-config-custom.xml
<config evaluator="node-type" condition="my:new_property_type">
      <show-property name="my:property"/>

And my:property is defined as d:text with a constraint list of values.

I also do in share the file web-framework-config-custom.xml that contains:

<config evaluator="node-type" condition="my:new_property_type">
                <show id="my:property"/>

And when I edit metadata in …share/page/site/melilla/edit-metadata?nodeRef=workspace://SpacesStore/(nodereference) I can see an selectable input of type my:property.

I want to know how i do a similar dashlet (using /components/form if it´s possible) that show me the same form but when I give a type (in this case my:new_property_type) and not the node reference.

Thanks a lot