Create property

Goal

This extension will create a property to a definition.

Packaging task configuration

Parameter Mandatory Default value Description
label true Property label in default language
type true value="com.axemble.vdoc.sdk.interfaces.IStorageResource"
Property type as java name
description false Property description in deault language
name false Property system name (if not set it’s build from label)
multiple false false Property is a collection
additional-type false DEFAULT Property additional-type (possible values : DEFAULT, CADE_DELETE, PROTOCOL_URI)
linked-resource-definition false (true if type is set to an IResource) Property foreign table

There is 3 know implementations

Resource definition

Parameter Mandatory Description
resource-definition true The target ResourceDefinition protocol-uri
<extension name="com.axemble.vdoc.update.properties.CreateResourceDefinitionPropertyExtension" critical="true">
   <param name="resource-definition" value="uril://vdoc/resourceDefinition//sys_DirectoryProject/sys_Directory:4/subsidiary"/>
   <param name="label" value="Branding"/>
   <param name="description" value="Branding a afficher pour cette organisation"/>
   <param name="name" value="Branding"/>
   <param name="type" value="com.axemble.vdoc.sdk.interfaces.IStorageResource"/>
   <param name="multiple" value="false"/>
   <param name="additional-type" value="DEFAULT"/>
   <param name="linked-resource-definition" value="uril://vdoc/resourceDefinition/DefaultOrganization/MoovappsWorkplace/MiddleOffice:4/Branding"/>
</extension>}

Workflow

Parameter Mandatory Description
workflow true The target workflow protocol-uri
<extension name="com.axemble.vdoc.update.properties.CreateWorkflowPropertyExtension" critical="true">
   <param name="workflow" value="uril://vdoc/resourceDefinition/DefaultOrganization/workplace/news:1/news_1.0"/>
   <param name="label" value="Branding"/>
   <param name="description" value="Branding a afficher pour cette organisation"/>
   <param name="name" value="Branding"/>
   <param name="type" value="com.axemble.vdoc.sdk.interfaces.IStorageResource"/>
   <param name="multiple" value="false"/>
   <param name="additional-type" value="DEFAULT"/>
   <param name="linked-resource-definition" value="uril://vdoc/resourceDefinition/DefaultOrganization/MoovappsWorkplace/MiddleOffice:4/Branding"/>
</extension>

Catalog

Parameter Mandatory Description
catalog true The target catalog protocol-uri
<extension name="com.axemble.vdoc.update.properties.CreateCatalogPropertyExtension" critical="true">
    <param name="catalog" value="uril://vdoc/resourceDefinition//sys_DirectoryProject/sys_Directory:4/"/>
    <param name="label" value="Branding"/>
    <param name="description" value="Branding a afficher pour cette organisation"/>
    <param name="name" value="Branding"/>
    <param name="type" value="com.axemble.vdoc.sdk.interfaces.IStorageResource"/>
    <param name="multiple" value="false"/>
    <param name="additional-type" value="DEFAULT"/>
    <param name="linked-resource-definition" value="uril://vdoc/resourceDefinition/DefaultOrganization/MoovappsWorkplace/MiddleOffice:4/Branding"/>
</extension>