Provide exemple of use
rchoffar opened this issue · 2 comments
rchoffar commented
Hi,
Could you please provide an exemple of how it's working ?
I have been trying with this:
{
"values": [
{
"recordId": "",
"data": {
"documentContent": "inline",
"documentUrl": "https://***.blob.core.windows.net/documents/test.txt",
"documentUrlencoded": "https://***.blob.core.windows.net/documents/test.txt",
"documentSasToken": "***",
"documentContentType": "application/text"
}
}
]
}
But i didnt get it work.
This is the answer i get:
{
"values": [
{
"recordId": "",
"data": {
"chunks": []
},
"errors": [],
"warnings": []
}
]
}
Thanks !
CeyssensStef commented
Hi
Following worked for me: (pdf document)
{
"values": [
{
"recordId": "",
"data": {
"documentContent": "inline",
"documentUrl": "https://***.blob.core.windows.net/documents/***.pdf",
"documentSasToken": "?<sas-token>",
"documentContentType": "application/pdf"
}
}
]
}
So the SAS needs to be prefixed with a '?'
paulmoise commented
Hi,
Please, can you share with me where you make this change (which file do you change and where do you upload your pdf document) ?