Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Capture EXIF Data in Salesforce and Delete [duplicate]

IS there a way to capture data on image(EXIF data) while an user tries to upload a image file into chatter and delete the data on the image file?
0 votes
1 answer
338 views

Accessing ContentVersion file data from Lightning web component

We are trying to build a zip download feature for documents. The zip can contain files stored in ContentVersions and external files. It works fine for external files. But due to CORS, we cannot access ...
0 votes
1 answer
82 views

How to run the code when the parameter was passed

I am facing the problem that I cannot run the code because there are no triggers to run it. I need the pdf file to be previewed in the module window. Tried through conectedCallback and wire, it didn't ...
0 votes
1 answer
2k views

System.StringException Invalid Id [closed]

I'm getting this error in APEX class which converts CSV file into records. I'm sorry for bad editing of this question but I turned problem liner into quotes. Example of the data that causes the error: ...
0 votes
1 answer
634 views

When and If, Does the 'version' in ContentVersion Change?

I'm using the lightning-file-upload component to upload files (wow). My question is: is it safe to add a custom lookup relationship on the ContentVersion object? I guess I don't really understand the '...
2 votes
1 answer
924 views

File saved using ContentVersion appears distorted or low quality

Using this link - Convert event.target.files into a JSON string I was able to get the file data. I form a JSON with like - {'fileName':xyz.jpeg,'file': <fileContent>} and pass it to an Apex ...