I see. So you want to sync property values across documents.
This can also be achieved with an update event, but this time not attached to the class, but to the instance of the document.
Event actions are the architecturally correct way to achieve both of your requirements, but if you want to avoid them at all costs you could try a sweep job or even an extra program to go through all candidates and change. This woul dbe with a time lag however.
Using a synchronous event action maintains transaction consistency (all or nothing).
Hope this helps,
/Gerold
------------------------------
Gerold Krommer
Managing Director
The Document Content Profesionals, G.m.bH
Wien
+436602408515
------------------------------
Original Message:
Sent: Wed November 20, 2024 03:43 PM
From: Ahmed ElHussein
Subject: Single point of change (How document can Inherit a property value from the parent Folder on Create/Update))
Hello Gerold,
Thank you too much for your response,
>This is exactly what a document class is, a template for document attributes and security.
we want to inherit the property value also not only the property also to be able to change this value at one place (Parent Templet) and to be propagated on all instances.
> This with a combination of event actions.
is there another way to do this inheritance without configured an event?
Thank you again for your effort.
------------------------------
Ahmed ElHussein
Original Message:
Sent: Wed November 20, 2024 03:43 AM
From: Gerold Krommer
Subject: Single point of change (How document can Inherit a property value from the parent Folder on Create/Update))
Hi,
>Is there any way to create a single point of change for a group of documents to share a templet of probertites value and securities?
This is exactly what a document class is, a template for document attributes and security.
>Also we have a business logic where all documents need to inherit a property, e.g., "CIF," from the parent folder. Additionally, if the value of this property is updated on the parent folder, it must be >propagated to all child documents.
This is not an uncommon requirement because logically a folder attribute very often is a shortcut for a property that applies to all the documents in the folder. There is nothing out of the box but you can achieve this with a combination of event actions (in very short: server side extensions that are triggered by events , e.g. a property update on a folder). We have done this successfully in the past.
Hope this helps,
/Gerold
------------------------------
Gerold Krommer
Managing Director
The Document Content Profesionals, G.m.bH
Wien
+436602408515
Original Message:
Sent: Tue November 19, 2024 05:14 AM
From: Ahmed ElHussein
Subject: Single point of change (How document can Inherit a property value from the parent Folder on Create/Update))
Hi All,
Is there any way to create a single point of change for a group of documents to share a templet of probertites value and securities?
As example create a templet of probertites value and defined securities, to use it in the document's updates and make the document point to this templet and change between this templet easily.
Also we have a business logic where all documents need to inherit a property, e.g., "CIF," from the parent folder. Additionally, if the value of this property is updated on the parent folder, it must be propagated to all child documents.
what is the best way to do that?
------------------------------
Ahmed ElHussein
------------------------------