Page 1 of 1

Content completion attribute values and annotations

Posted: Wed Aug 26, 2020 2:16 am
by bwbohl
Hi Syncro Soft Team,

I wonder (an I feel like I remember): is there a way to configure by means of my frameworks cc_config.xml that the proposed values and corresponding annotations are switched?

E.g. instead of listing

val 1 --> popping up annotation 1
val 2 --> popping up annotation 2
val 3 --> popping up annotation 3

do it the other way roud:

annotation 1 --> popping up val 1
annotation 2 --> popping up val 2
annotation 3 --> popping up val 3

Alternatively I would like to sort the proposed values by a specified sortkey (not being annotation or value but a third string).

Hope you understand what I mean :-/

Or maybe I'd need a plugin for that?

Any help appreciated!
Many thanks in advance
Benjamin

Re: Content completion attribute values and annotations

Posted: Thu Aug 27, 2020 9:30 am
by alex_jitianu
Hello,

Just to be sure I understand this correctly, you would want the CC window to present a label, a human friendly text, while inserting the actual, perhaps cryptic, value. Is that correct?

The cc_value.xml file doesn't currently offer such a feature. We do have an issue recorded and I will add your vote for it.

Where are these attributes going to be edited and how? In the Attributes view, in author's page form controls? We have a Java API to contribute to content completion and there is a possibility for it to provide some labels, but they are currently only the pop-up form control uses those labels.

Best regards,
Alex