CMDBuild Forum

LinkCards Widget

Hi all,

Is there any example for configure linkCards widget? I always get error "Class null non found" when starting workflow with linkCards widget. What should I put in ClassName parameter? Domain name or Class Name? Do I need to create domain for linkCards widget? Is it support cardinality of 1:N or N:N?

Here are my input parameters:

 

ClassName="classname"

ButtonLabel="Test"

SingleSelect=0

NoSelect=0

Required=0

Filter=""

DefaultSelection=""

AllowCardEditing=0

Metadata=""

MetadataOutput=""

 

Thank you!!

Regards,

Herru

You can find an example in the simple RfC Workflow (steps RF03 RF04 RF11) included in the CMDBuild demo database

(cmdbuild-2.3.2.zip\cmdbuild-2.3.2\extras\workflow\RFC\RequestForChange.xpdl).

CMDBuild Team

 

Hi CMDBuild team,
 
Thank you for your answer. But what do you mean by steps RF03 RF04 RF11? Because I cannot found it on sample xpdl.
 
Now I'm able to get the button work and showing the window with the list of cards, but I have trouble defining CheckArray output. How should I define the ouput parameters and how to process the output? I want to link selected card on linkcard widget to my current workflow.
 
Need your help...
 
Thank you.
 
Regards,
Herru
 
Previously Tecnoteca wrote:

You can find an example in the simple RfC Workflow (steps RF03 RF04 RF11) included in the CMDBuild demo database

(cmdbuild-2.3.2.zip\cmdbuild-2.3.2\extras\workflow\RFC\RequestForChange.xpdl).

CMDBuild Team

 

 

RF03, RF04, RF11 are the names of the XPDL activities (more precisely

RF03-HDClassific, RF04-HDInfoReqMgt, RF11-SPInfoReqMgt) containing a linkCard widget, in the demo XPDL file.

CMDBuild Team

Hello there..,
 
I search those string in RequestForChange.xpdl file using text editor, cannot found it.
 
Regards,
Herru
 
Previously Tecnoteca wrote:
RF03, RF04, RF11 are the names of the XPDL activities (more precisely

RF03-HDClassific, RF04-HDInfoReqMgt, RF11-SPInfoReqMgt) containing a linkCard widget, in the demo XPDL file.

CMDBuild Team

 

I’m sorry, you’re right.

The XPDL file which I referred to is not the RfC workflow of the CMDBuild demo database, but the RfC workflow of the CMDBuild Ready2Use database.
You can download here http://sourceforge.net/projects/cmdbuild/files/2.3.2/cmdbuild-ready2use_for_test-1.0.zip/download
a ZIP file that
includes the backup of the Ready2Use
database and an install command.

Once
the database is restored and CMDBuild is started (also the Shark webapp), you can download the XPDL
file of the RfC workflow from the CMDBuild Administration Module (Processes / IT Process / Request fulfilment).

CMDBuild Team

Thanks.. I will try setup this first
 
Regards,
Herru
 
Previously Tecnoteca wrote:
I'm sorry, you're right.

The XPDL file which I referred to is not the RfC workflow of the CMDBuild demo database, but the RfC workflow of the CMDBuild Ready2Use database.
You can download here http://sourceforge.net/projects/cmdbuild/files/2.3.2/cmdbuild-ready2use_for_test-1.0.zip/download
a ZIP file that
includes the backup of the Ready2Use
database and an install command.

Once
the database is restored and CMDBuild is started (also the Shark webapp), you can download the XPDL
file of the RfC workflow from the CMDBuild Administration Module (Processes / IT Process / Request fulfilment).

CMDBuild Team

 

Hello,
 
I'm now able using linkCard widget. Thank you!!
 
Next, could you give me example for manageRelation widget? I cannot found any example in Ready2Use workflows.
 
I want to manage relationship between my current workflow process with a card (in this example: Class Building).
I always get this warning when starting new workflow: Cannot configure the extended attribute manageRelation 
 
I use this parameters:
 
DomainName="WorkflowBuilding"
ClassName="Building"
ObjId=vProcessId
ButtonLabel="Test"
EnabledFunctions="00100000"
Required=1
IsDirect="true"
vRefArray
 
For vProcessId : I define in workflow variables, data type: Integer, script type: text/java, initial value: vProcessId=ProcessId;
For vRefArray : should I define it in workflow variable?
WorkflowBuilding is N:N relationship.
 
What shoud I put in ObjId exactly?
 
Thank you for your kind attention.
 
Regards,
Herru
 
Previously Herru wrote:
Thanks.. I will try setup this first
 
Regards,
Herru
 
Previously Tecnoteca wrote:
I'm sorry, you're right.

The XPDL file which I referred to is not the RfC workflow of the CMDBuild demo database, but the RfC workflow of the CMDBuild Ready2Use database.
You can download here http://sourceforge.net/projects/cmdbuild/files/2.3.2/cmdbuild-ready2use_for_test-1.0.zip/download
a ZIP file that
includes the backup of the Ready2Use
database and an install command.

Once
the database is restored and CMDBuild is started (also the Shark webapp), you can download the XPDL
file of the RfC workflow from the CMDBuild Administration Module (Processes / IT Process / Request fulfilment).

CMDBuild Team

 

 

Hi,
 
I'm now able to get the manageRelation button work, but no card relationship shown in the window.
 
I use this parameter:
 
DomainName="BuildingRoom"
ClassName="Building"
ObjId=client:Building
ButtonLabel="Manage rooms"
EnabledFunctions="11111111"
IsDirect=1
vRefArray2
 
If DomainName specified in parameter is domain for class to class relationship like above, result is empty.
 
But if I use DomainName of process to card relationship, I can get the result.
 
Need help..
 
Thank you.
 
Regards,
Herru
 
Previously Herru wrote:
Hello,
 
I'm now able using linkCard widget. Thank you!!
 
Next, could you give me example for manageRelation widget? I cannot found any example in Ready2Use workflows.
 
I want to manage relationship between my current workflow process with a card (in this example: Class Building).
I always get this warning when starting new workflow: Cannot configure the extended attribute manageRelation 
 
I use this parameters:
 
DomainName="WorkflowBuilding"
ClassName="Building"
ObjId=vProcessId
ButtonLabel="Test"
EnabledFunctions="00100000"
Required=1
IsDirect="true"
vRefArray
 
For vProcessId : I define in workflow variables, data type: Integer, script type: text/java, initial value: vProcessId=ProcessId;
For vRefArray : should I define it in workflow variable?
WorkflowBuilding is N:N relationship.
 
What shoud I put in ObjId exactly?
 
Thank you for your kind attention.
 
Regards,
Herru
 
Previously Herru wrote:
Thanks.. I will try setup this first
 
Regards,
Herru
 
Previously Tecnoteca wrote:
I'm sorry, you're right.

The XPDL file which I referred to is not the RfC workflow of the CMDBuild demo database, but the RfC workflow of the CMDBuild Ready2Use database.
You can download here http://sourceforge.net/projects/cmdbuild/files/2.3.2/cmdbuild-ready2use_for_test-1.0.zip/download
a ZIP file that
includes the backup of the Ready2Use
database and an install command.

Once
the database is restored and CMDBuild is started (also the Shark webapp), you can download the XPDL
file of the RfC workflow from the CMDBuild Administration Module (Processes / IT Process / Request fulfilment).

CMDBuild Team

 

 

 

Hi Team,
 
Now I am able to get the list using these parameters:
 
DomainName="BuildingRoom"
ClassName="Building"
ObjId=client:Building
ButtonLabel="Manage rooms"
EnabledFunctions="11101111"
IsDirect="true"
Required=1
vRefArray2
 
Thank you Tecnoteca Team.
 
Regards,
Herru
 
Previously Herru wrote:
Hi,
 
I'm now able to get the manageRelation button work, but no card relationship shown in the window.
 
I use this parameter:
 
DomainName="BuildingRoom"
ClassName="Building"
ObjId=client:Building
ButtonLabel="Manage rooms"
EnabledFunctions="11111111"
IsDirect=1
vRefArray2
 
If DomainName specified in parameter is domain for class to class relationship like above, result is empty.
 
But if I use DomainName of process to card relationship, I can get the result.
 
Need help..
 
Thank you.
 
Regards,
Herru
 
Previously Herru wrote:
Hello,
 
I'm now able using linkCard widget. Thank you!!
 
Next, could you give me example for manageRelation widget? I cannot found any example in Ready2Use workflows.
 
I want to manage relationship between my current workflow process with a card (in this example: Class Building).
I always get this warning when starting new workflow: Cannot configure the extended attribute manageRelation 
 
I use this parameters:
 
DomainName="WorkflowBuilding"
ClassName="Building"
ObjId=vProcessId
ButtonLabel="Test"
EnabledFunctions="00100000"
Required=1
IsDirect="true"
vRefArray
 
For vProcessId : I define in workflow variables, data type: Integer, script type: text/java, initial value: vProcessId=ProcessId;
For vRefArray : should I define it in workflow variable?
WorkflowBuilding is N:N relationship.
 
What shoud I put in ObjId exactly?
 
Thank you for your kind attention.
 
Regards,
Herru
 
Previously Herru wrote:
Thanks.. I will try setup this first
 
Regards,
Herru
 
Previously Tecnoteca wrote:
I'm sorry, you're right.

The XPDL file which I referred to is not the RfC workflow of the CMDBuild demo database, but the RfC workflow of the CMDBuild Ready2Use database.
You can download here http://sourceforge.net/projects/cmdbuild/files/2.3.2/cmdbuild-ready2use_for_test-1.0.zip/download
a ZIP file that
includes the backup of the Ready2Use
database and an install command.

Once
the database is restored and CMDBuild is started (also the Shark webapp), you can download the XPDL
file of the RfC workflow from the CMDBuild Administration Module (Processes / IT Process / Request fulfilment).

CMDBuild Team