Questions tagged [public]
The public tag has no usage guidance.
27
questions
-1
votes
0
answers
15
views
How I can provide a add/Edit users to Public groups to Service Cloud Admin profiles in SFDC
I want to provide add/edit users in to public groups which is related to Service cloud and have to provide access to particular profile like Service cloud admin profile .
0
votes
1
answer
176
views
User Profile Pictures (FullPhotoUrl) not publicly accessible anymore
It is suddenly not possible for us to access the profile picture of a User (FullPhotoUrl) without being logged in. Trying to navigate to https://___.file.force.com/profilephoto/[ID]/F redirects me to ...
3
votes
0
answers
58
views
Programatically fetch Salesforce IP Addresses and Domains to Allow
I would like to get public IP ranges from https://help.salesforce.com/s/articleView?id=000321501&type=1 in a programmatic manner.
Web scrapping is a solution but it has its disadvantages. Looking ...
1
vote
0
answers
86
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 ...
0
votes
0
answers
128
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
1k
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
219
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
189
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
1k
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
29
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
824
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
1
answer
301
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
1
answer
237
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
1
answer
603
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
1
answer
5k
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
372
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
1
answer
167
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'...
1
vote
0
answers
147
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
112
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
1
answer
146
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
1
answer
308
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
112
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
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 ...
1
vote
0
answers
106
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
44
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
1
answer
62
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 ...