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
6 months 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
6 months 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.
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 274 topics