Anjo,

No, you want to look at creating a custom function.

https://arches.readthedocs.io/en/stable/creating-custom-components/#functions

You write a function that will trigger when one or more associated tiles 
(card data) is saved. In your function you can then lookup or create a tile 
for another card and set it's data based on your logic.

One of our public repos has some examples of functions that we wrote which 
creates or updates one tile with information from the one being saved.

https://github.com/HistoricEngland/arches-bngpoint/blob/release/5.1.0/package/extensions/functions

Andy

On Monday, April 26, 2021 at 4:31:42 PM UTC+1 [email protected] wrote:

> Hi Andy,
>
> Many thanks for your reply. I have not worked on this level of 
> customization in Arches yet. Is the route to the workaround you indicate 
> based on <Creating a Card Component> from the Arches documentation?
>
> Many thanks for your help,
> Anjo
>
> On Friday, April 23, 2021 at 11:56:47 AM UTC+2 
> [email protected] wrote:
>
>> Hi Anjo,
>>
>> You currently cannot do this. We have the same low priority requirement 
>> but have progressed it. It would be quite a tough task to create a generic 
>> descriptor function given the possibly complexity of a model and how 
>> cardinality between child and parent cards could be.
>>
>> The work around we used was to create a "display card" and write a 
>> function that updates that card based on the specific rules of our model. 
>> The card itself is set to read-only so users cannot update it.
>>
>> Andy
>>
>> On Thursday, April 22, 2021 at 9:47:02 AM UTC+1 [email protected] 
>> wrote:
>>
>>> Hi,
>>>
>>> I would like to generate a composed display name using nodes from 
>>> different cards of the same resource. Is this possible? Does it require a 
>>> custom descriptor function?
>>>
>>> Many thanks,
>>> Anjo
>>>
>>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/994c09f5-e980-46e8-b0ae-3ee6e95b866an%40googlegroups.com.

Reply via email to