Load xClass and xProperties, and link xProperties to multiple xClasses from AML
We want to load 1k+ xclasses to Aras, we are talking about 4k+ xproperties here. When we are running AML for creating relations xClass_xProperty_Flatten and xClass_xPropertyDefinition to link them to class tree, it fails with error : <faultstring><![CDATA["xClass_xProperty_Flatten" can be added or deleted or updated only in XTree context]]></faultstring> <detail> <af:legacy_detail><![CDATA["xClass_xProperty_Flatten" can be added or deleted or updated only in XTree context]]></af:legacy_detail> <af:exception message=""xClass_xProperty_Flatten" can be added or deleted or updated only in XTree context" type="System.ArgumentException" /> </detail> I can load property definitions, but not classes, but can’t map the properties to classes. How can we mass create and reuse these xProperty definitions in more than one class from AML, by creating relations correctly?2.3KViews1like1CommentHow to use explicit xProperties in ItemType?
Hi community, is any familiar with using explicit xProperties in ItemTypes? Inside of a ItemType there is a relationships "xProperties". When can add custom xProperties there. These new properties will be automatically linked in the grid so user can enable/disable them by themselves. This is works very well and would be exactly the behavior I am looking for my current use case. But I struggle to "use" these direct xProperties. I cannot add the fields to a Form. I right now have no idea how users can add values to these new properties. Does any knows how to use these properties? Best regards and thanks for any hint! Angela0Views0likes2CommentsHow to Update the value of xClasss xProperty by AML or API?
Hi Eli, How to Update the value of xClasss xProperty via API or AML? I can get the value of an xProperty via MyItem.getProperty("xp-MyPropertyName") or AML. But I failed to update xProperty this way. Item MyItem = innovator.newItem("Part","edit"); MyItem.setID("xxxxxxxx"); MyItem.setProperty("xp-length","10"); MyItem.apply(); Lin6.2KViews0likes3CommentsShow xProperties from one item type to another item type
Hi Team I need a help to implement one logic. I have xClass configured in Document Item type and Part has document number field. On Select of document number, I want to show the related xClass properties of document in Part. How to achieve this. Example : Document1 has xClass Group1 with 3 properties When user select Document1 in Part Itemtype, Part should show the Document XClass in Part relationship Thanks1.9KViews0likes0CommentsHiding Select xClass Ellipse and Delete xClass button in Extended classification
Hi Team, I have created a custom method, when a user selected some value in drop down list then the xClassification relationship will get added automatically. I want to prevent the user to delete or add new xClassification properties. How to achieve this.3.9KViews0likes2Comments