Questions tagged [public]

The tag has no usage guidance.

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

File Upload Making as Public - Image is not Showing in HTML img tag

I am Uploading the Image from LWC page by using lightning-file-upload and Making the Image as Public accessible as Below ContentVersion cv = [select id from contentversion where contentdocumentid =:...
0
votes
1answer
15 views

Lost Formatting with Public Visualforce Page

I lost some key formatting when making our VisualForce page public, and I'd like to know how to correct this. I've made the page public and enable public access to the static resources. Here is what ...
0
votes
1answer
24 views

Expose User Profile Images on a Public Site

Is there a way to show User profile images on a public (force.com) site? It appears not without having to resort to taking the image, base 64 encoding it and storing it somewhere it can access, but I ...
0
votes
1answer
115 views

Process Builder activation error

I have a process builder that invokes a method from a class where it passes one of the three parameters. In the class the InvocableVariable is a List of Custom object Call__c but from process builder ...
2
votes
1answer
101 views

Public Platform Events which can be subscribe by any Salesforce Org

We would like to generate a public platform event which will be published on a single Salesforce org and it can be consumed by any other Salesforce Org. Few examples of this public platform event ...
0
votes
1answer
313 views

Variable does not exist in global method - batch class

I have tried to put together a batch class to update parent Account records with credit scores.. I need to make 2 list variables public so I am able to access them in the finish global batch method, ...
1
vote
1answer
3k views

Create a ContentVersion document available for all users

Sorry if this seems easy, but I am new to Salesforce... What I did so far is: Query files using apex Do operations according to VersionData of queried files Everything works as expected. However, ...
0
votes
1answer
229 views

Pass public string value from constructor to apex page

I have been setting a public string from apex controller's constructor at the end. I can see that value in debug log. But when I pass that to Apex page it shows null. Can someone please let me know ...
2
votes
1answer
123 views

Safely refactoring public methods in apex classes

True or False: When refactoring legacy methods (e.g. adding a parameter or deleting altogether), it is guaranteed not to break anything as long as I update every reference in the code base, based on ...
1
vote
1answer
23 views

Is there some way to associate “sites” with “Articles”?

I was describing a problem to someone, and to make a long story short, they sent me a list of suggested steps which included making a site (Develop > Sites) and adding a robots.txt so that site wouldn'...
1
vote
0answers
113 views

Issue with Quote with public visual force page

We have the below requirement : We have a payment request object as a related list in Opp and a custom button on Opp "Send Payment Request". Once clicked on this button (this is part of managed app -...
0
votes
1answer
36 views

Turn public list to set with returning unique values

I have below declaration for a public list which I need to make a set so that only unique values show up. If not Set atleast I need this list to return unique values. Can someone please help me? Apex ...
0
votes
1answer
55 views

Creating a url which is accessed by anonymous users

I need to create a URL to which an external system post some information. Basically, it is a redirect to the particular URL from the external URL and it posts some data by passing the parameters. The ...
4
votes
1answer
192 views

When creating an EventRelation of a public calendar validation does not function as expected

I'm using Process Builder and Visual Workflow to sync a custom appointment object and its "Room" selection picklist with the public resource calendars we set up for our conference rooms. Here's how it ...
4
votes
1answer
92 views

Portal for users with no authentication

Is it possible to create a "contact us" public facing webpage that requires no authentication? I'd like to have the public-user go to a public page, fill out minor details, click Contact Us which ...
1
vote
2answers
1k views

Call Public class method from onclick javascript [duplicate]

I have a public emailing apex class I need to call that from onclick javascript button of a detail page. Can someone let me know , if I can do that? Please give me an example. I am not getting it. I ...
1
vote
0answers
89 views

Can we customize/override this “+” icon on the Salesforce Calendar? If Yes, How?

I want to auto-populate some fields from an object to event while going through the calendar. Cause the plus icon on calendar redirects to the next page, i wanted to know if we can anyhow override ...
1
vote
1answer
39 views

Getting/Setting CaseComment Privacy

According to the API documentation, in order to get/set the CaseComment privacy, you need to use the IsPublished field. However, whenever a comment is posted into Salesforce, it always seems to ...
0
votes
1answer
58 views

Public list variable is empty

I have a class with 3 methods (1 static and 2 normal) - A,B,C methods. B is the static method. A calls B method, B calls C method. There is master list variable which is updated in C method. In ...