Developer forum

Forum » Feature requests » Color code missing from item type

Color code missing from item type

Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

I am developing a Vue frontend and I want to have Item Types for static content, there I want to be able to select colors for various objects.


This is the result of the color swatch, why don´t you send the hex value?

Regards.

Unnsteinn Garðarsson


Replies

 
Vladimir Shushunov Dynamicweb Employee
Vladimir Shushunov
Reply

Hi Unnsteinn,

hmm... we do send the hex value!

Could you specify your DW version and steps please? 

Best regards, 

Vladimir

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

I was not explicit enough, I am developing a Vue frontend so I am using the DWAPI to retrieve the paragraphs, and the screenshot from me above shows the only information I get from the Color Swatch after calling the paragraphs endpoint. I am using DW 9.10.5

 
Vladimir Shushunov Dynamicweb Employee
Vladimir Shushunov
Reply
This post has been marked as an answer

yes, this is the important detail:)

There are some technical issues with webapi(it is beta yet).
A related of color swatch - it should know the area object from which to take palette. But this is not explicit in case the webapi!
We will solve this issue of course!

Best regards,

Vladimir

Votes for this answer: 1
 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi,

New DevOps task 2127 has been submitted to implement the feature.

BR, Oleg QA

Votes for this answer: 1