11-24-2014 01:42 PM
When I go to the Relations tab, it has the default predicate values, "references", "requires", etc. How can I change this vocabulary in order to say something like "parent of" and "has children"?
I think this is the XML extension that grabs the vocabulary:
<directory name="predicates">
<schema>vocabulary</schema>
<dataSource>java:/nxsqldirectory</dataSource>
<table>relation_predicates</table>
<idField>id</idField>
<autoincrementIdField>false</autoincrementIdField>
<dataFile>directories/relation_predicates.csv</dataFile>
<createTablePolicy>on_missing_columns</createTablePolicy>
</directory>
<directory name="inverse_predicates">
<schema>vocabulary</schema>
<dataSource>java:/nxsqldirectory</dataSource>
<table>relation_inverse_predicates</table>
<idField>id</idField>
<autoincrementIdField>false</autoincrementIdField>
<dataFile>directories/relation_inverse_predicates.csv</dataFile>
<createTablePolicy>on_missing_columns</createTablePolicy>
</directory>
And I have the two vocabularies that it references, so I'm guessing I just change the "labels" to be what I want them to be, but I don't know how to grab the new vocabulary that I have in my own resources as CSV files. Any ideas?
Thank you!!!!
11-24-2014 02:06 PM
Hi,
You can take a look at this how-to to add new relation types directly from the platform UI: http://doc.nuxeo.com/x/lhk5AQ.
Regards, Solen
11-24-2014 02:06 PM
Hi,
You can take a look at this how-to to add new relation types directly from the platform UI: http://doc.nuxeo.com/x/lhk5AQ.
Regards, Solen
11-24-2014 02:18 PM
That worked! Thank you so much! You're the best!
11-25-2014 06:17 AM
Yes, she's the best 😉
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.