Hi,
There is an API (REST) call that Aurena does to count attachments, but I'm not sure if you can use it in your context. To see it, open any page that has attachments enabled and activate Chrome dev tools / Network tab. You will see the call there once you click to open the Documents section.
Hi Mathias,
Thank you very much for the quick answer.
Are there any existing database functions that can be used for this? (Get method)
Not that I know of but I only made a few quick searches. If we can still define a custom field using a SELECT statement, then you should be able to pull it off. At least to count the number of documents that are directly connected to the document. Also counting documents from Object Connection Transformation rules is hard, or impossible, from a SELECT statement on a custom field.
Hi Suresh,
Maybe you can try the call Doc_Reference_Object_API.Get_Obj_Conn_Client_Hit_Count. As Mathias mentioned you can try this method in a custom field to or create a function to select count and return true or false.
Be sure to provide the correct keyref and luname.
Hope this helps for a starting point.
Regards,
Sahan
Hi Suresh,
Maybe you can try the call Doc_Reference_Object_API.Get_Obj_Conn_Client_Hit_Count. As Mathias mentioned you can try this method in a custom field to or create a function to select count and return true or false.
Be sure to provide the correct keyref and luname.
Hope this helps for a starting point.
Regards,
Sahan
Haha! How did I miss that?
Thanks Sahan!