Although we can set up binary attributes to upload a file within a form, is it possible to configure the field to allow multi-file uploads, and store additional metadata such as the file name?
A suggestion was made to explore an automation process where a file is uploaded within a Semarchy application, which would trigger a write of the file to somewhere like SharePoint, and once complete, it would provide the URL link to the file - is this a feasible approach?
I'd like to get your opinion on alternate ways to approach attachment handling within applications, as I would ideally like to avoid having integrations run for in-progress tasks, especially when we plan to have workflow processes established.
Best Answer
S
Stéphanie FOURRIER
said
over 2 years ago
Hi Mohammad,
your Sharepoint approach looks great to me. You can upload the file into Semarchy, trigger a Rest Client enriched to call your SharePoint endpoints and push the file into it, retrieve the answer that should have the URL in it in a separate field, and then have another enricher resetting the binary attribute value to null.
In the end, you can call it each time a new file is uploaded and concatenate all retrieved URLs into a single markdown field to have multiple attributes browsable by your end users.
An attribute with a binary data type can only hold one file.
Perhaps you could try merging the documents into one file before you upload.
Thanks
S
Stéphanie FOURRIER
said
over 2 years ago
Answer
Hi Mohammad,
your Sharepoint approach looks great to me. You can upload the file into Semarchy, trigger a Rest Client enriched to call your SharePoint endpoints and push the file into it, retrieve the answer that should have the URL in it in a separate field, and then have another enricher resetting the binary attribute value to null.
In the end, you can call it each time a new file is uploaded and concatenate all retrieved URLs into a single markdown field to have multiple attributes browsable by your end users.
Mohammad.rehman
Although we can set up binary attributes to upload a file within a form, is it possible to configure the field to allow multi-file uploads, and store additional metadata such as the file name?
A suggestion was made to explore an automation process where a file is uploaded within a Semarchy application, which would trigger a write of the file to somewhere like SharePoint, and once complete, it would provide the URL link to the file - is this a feasible approach?
I'd like to get your opinion on alternate ways to approach attachment handling within applications, as I would ideally like to avoid having integrations run for in-progress tasks, especially when we plan to have workflow processes established.
Hi Mohammad,
your Sharepoint approach looks great to me. You can upload the file into Semarchy, trigger a Rest Client enriched to call your SharePoint endpoints and push the file into it, retrieve the answer that should have the URL in it in a separate field, and then have another enricher resetting the binary attribute value to null.
In the end, you can call it each time a new file is uploaded and concatenate all retrieved URLs into a single markdown field to have multiple attributes browsable by your end users.
This should work properly and be user-friendly.
I hope this helps.
Stéphanie.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstSubham Dixit
Hello Rehman,
Thanks
Stéphanie FOURRIER
Hi Mohammad,
your Sharepoint approach looks great to me. You can upload the file into Semarchy, trigger a Rest Client enriched to call your SharePoint endpoints and push the file into it, retrieve the answer that should have the URL in it in a separate field, and then have another enricher resetting the binary attribute value to null.
In the end, you can call it each time a new file is uploaded and concatenate all retrieved URLs into a single markdown field to have multiple attributes browsable by your end users.
This should work properly and be user-friendly.
I hope this helps.
Stéphanie.
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics