Using JavaScript API to set the display of an embedded artifact to “Show only the artifact content”
DNG lets you insert RM artifacts within the text of other RM artifacts. By default, the name of the inserted artifact gets displayed. The UI lets you select “Show only the artifact content” to show the inserted artifacts primary text. Can this display option be set using the JavaScript API?
Picture of the "Show only the artifact content" I referred to:
One answer
Hi Jacob,
Not sure what you mean by JavaScript API? Is that using the RM Client Extensions or doing a REST call to the server?
Anyway, as far as I can see, this function is specific to the RM web UI. When I enable primary text for the inserted artifact in the module view, and logout and login again, I loose the primary text when looking at the inserted artifact again. So think that 'setting/option' is not stored, hence cannot be set.
Not sure what you mean by JavaScript API? Is that using the RM Client Extensions or doing a REST call to the server?
Anyway, as far as I can see, this function is specific to the RM web UI. When I enable primary text for the inserted artifact in the module view, and logout and login again, I loose the primary text when looking at the inserted artifact again. So think that 'setting/option' is not stored, hence cannot be set.