Vincent,
If you can find that value in a Knockout context, then it's in the
javascript somewhere.  You're going to have to do some sleuthing to find
out where though.
Alternatively, there is an api endpoint
(localhost:8000/rdm/concepts/{conceptid}) that you could use, except that
it's not currently setup for returning collections.
I could add that pretty quickly if you need it.
Cheers,
Alexei



Director of Web Development - Farallon Geographics, Inc. - 971.227.3173

On Tue, Sep 25, 2018 at 5:54 AM, Vincent Meijer <meijer.vinc...@gmail.com>
wrote:

> I would like to use certain concept values in a report, specifically in
> the javascript part of it.
>
> The model I am working with has a card, which has a concept node called
> 'Measurement Unit', which is connected to a collection with units (mm, cm,
> etc.).
>
> I have this .js file for a customized report I made (based on image.js):
> https://github.com/globaldigitalheritage/arches-
> 3d/blob/9-add-3dhop-resource-type/arches_3d/arches_3d/
> media/js/reports/three-d-hop/three-d-hop.js
>
>
> How do I find that Measurement Unit concept value and use it in a similar
> way e.g. 'item.url'?
>
>
> I have been digging around and found the value I was looking for in the
> Knockout context (label= 'Measurement Unit', valueObjects[0].name =
> 'Milimeters'), but I am at a loss regarding how to get that value in my .js
> code.
>
> Any pointers or examples would be appreciated!
>
> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archesproject+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to