Загрузка...

Public File URL in Salesforce | Auto Generate & Store URL on Contact using Apex Trigger

In this video, we explain what a Public File URL in Salesforce is and how to automatically generate and store a public file URL on the Contact object every time a new file is attached.

This is a real-time Salesforce Apex use case where we use a trigger on ContentDocumentLink to:
✔ Detect file upload on Contact
✔ Generate a public file link using ContentDistribution
✔ Store the public URL in a Contact custom field
✔ Allow external users to access files without Salesforce login

🚀 What you’ll learn in this video:
- What is Public File URL in Salesforce
- Difference between internal file link and public URL
- ContentDocument, ContentVersion & ContentDistribution explained
- Apex Trigger on file upload
- Real-time Salesforce project use case
- Best practices for file sharing in Salesforce

📌 Real-world use cases:
- Send invoice or document links via email
- Share files with customers without login
- Store downloadable file links on Contact / Case / Account
- Salesforce integrations & automation

💡 Perfect for:
Salesforce Developers | Admins | Freshers | Interview Prep | Real-time Projects

👇 Comment “FLOW” if you want the Flow-based solution without Apex.

👍 Like | 🔔 Subscribe | 💬 Comment
for more Salesforce real-time use cases and tutorials.

#Salesforce #ApexTrigger #PublicFileURL #SalesforceFiles #contentdistribution

Видео Public File URL in Salesforce | Auto Generate & Store URL on Contact using Apex Trigger канала AITECHONE
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять