Questions tagged [public]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
22 views

Page access not retrievable for LWC community

When setting the "Page access" to either "Public" or "Require Login", it's not retrieved in the metadata by using the "sfdx force:source:pull" command. I would ...
  • 11
0 votes
0 answers
45 views

public directory for setting up Mock Web Service Worker Mocking Framework for Salesforce

I am trying to use a node-js mocking framework to do both functional (UI end to end testing) and to do local development when there is a requirement to change both UI and the API that it supports. I ...
2 votes
1 answer
307 views

Public static resource not visible

I created a static resource and set the Cache Control to Public. However, when I access the static resource URL directly, I get the Salesforce login page. Here's the URL I'm using: https://someorg--...
0 votes
1 answer
90 views

Keep protected visibility of custom object in managed package once they changed to public after release

I am developing the managed package on a feature based. I have used feature parameters to achieve this functionality each feature has an individual custom object. My business case is to show the ...
0 votes
1 answer
91 views

Can I rename a public group without it messing up any sharing rules, triggers, etc.?

I'm simply renaming a public group and want to make sure it's not impacting anything else. Thanks for your help!
1 vote
1 answer
769 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
1 answer
24 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
1 answer
467 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 ...
  • 24.8k
0 votes
1 answer
291 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,900
2 votes
1 answer
170 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 ...
  • 2,250
0 votes
1 answer
550 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, ...
  • 57
1 vote
1 answer
4k 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
1 answer
308 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,900
2 votes
1 answer
153 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
1 answer
27 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'...
  • 465
1 vote
0 answers
141 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
1 answer
93 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 ...
  • 2,900
0 votes
1 answer
117 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 ...
  • 551
4 votes
1 answer
288 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
1 answer
103 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,600
1 vote
2 answers
2k 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 ...
  • 2,900
1 vote
0 answers
98 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
1 answer
43 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 ...
  • 111
0 votes
1 answer
61 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 ...
  • 4,001