• Sandrine
  • ALL STAR
  • 7329 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 20
    Likes Received
  • 0
    Likes Given
  • 802
    Questions
  • 287
    Replies
Hello,

I have created a flow on Case object.
I have a custom_setting2_c with fields custom_field_2__c a checckbox
with Default Organization Level Value which is true or false.

How can i include the check for the custom setting value in flow, please ?
Hello,
I am coverting a workflow task creation to Flows task creation.
However, when i create a task from workflow time based ,
I have option to assign the task to user role.
However, if i do it in Flow, i dont have the option.
Any advise ?
Hello,
I want to create a global checkbox which if true will exute code block one.
What is simplest way to achieve it , please ?
If(Global checkbox == True){
    @AuraEnabled(cacheable=true)
    public static string FucntionName(){
       //Logic
   }
}else{
    @AuraEnabled
    public static string FucntionName(){
       //Logic
   }

}
thank you for advice
Hello,

I have below limit reaching as we send many emails from apex
SINGLE_EMAIL_LIMIT_EXCEEDED
We are obliged to send email from apex as the logic is comlex. is there any workaround for the soltion.
Can we stock email somewhere and send email later
thank you for feedback
 
Hello,

For the release update "Enforce Access Modifiers on Apex Properties in Lightning Component Markup"

I would like to know the steps to follow for analysis and possible workaround if possible.

links for reference :
Link 1 (https://help.salesforce.com/articleView?id=release-notes.rn_lc_enforce_prop_modifiers_cruc.htm&type=5&release=230)
Link 2 (https://help.salesforce.com/articleView?id=release-notes.rn_lc_crucs.htm&release=228&type=5)

Thank you for advise
 
Hello,

For the release update "Disabled Ref Id and New Threading Behavior for Email-To-Case"

I would like to know the steps to follow for analysis and possible workaround if possible.

links for reference :
Link 1 (https://help.salesforce.com/articleView?id=000356212&language=en_US&mode=1&type=1)
Link 2 (https://trailblazer.salesforce.com/ideaView?id=0874V000000UJNPQA4)

Thank you for sharing 
 
Hello,
All my detail pages of the objects (account, opportunity and lead) are not correct. They are oriented to old settings
what can be points to check, please ?
Hello,

I have a user in community who sees two different things in Sandbox and Production.
How is it possible to check what is the difference, please ?
 
Hello,

I had issue on the salesforce side during the weekdnend due to update of salesforce.
Is there any link that can share this details, please ?

CORS Cross-Origin Resource Sharing
Hello,

I have a HTML page like below which i want to integrate in Visualforce page.
How can i do so, please
 
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<script src=" https://cdn.chatbotpage.com/testingcode/bundle.min.js"></script>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<div id="chatbot-root"></div>

</body>
</html>

 
Hello,

i have a use case where i wamt to isert record in to custom log before a null pointer exception is fired.
I am reproducting the null exception and adding log.
but i see that the log is not inserted before the null pointer exception is fired

what can be the issue please
Hello,

I have written a code below the null pointer exception is fired to log mesages in a custom object but it is not entering the loop, what can be possible reason.
 
Map<Id, RecordType> rtMap = rtTemp.get(String.valueOf(Account.SObjectType));

	String rtTemp = (String) obj.get(RT_ID);

	if (!rtMap.containsKey(rtTemp)){  //not entering this loop
		logic to put a log in custom object
	}
	
	String rtDName = rtMap.get(rtTemp).DeveloperName; //null pointer

 
Hello,

I am getting a null pointer exception in below code.
how can i put a check on below code to check if it is null or not
public static Map<String, Map<Id, RecordType>> rtTemp = new Map<String, Map<Id, RecordType>>(), 
public SObjectType oName;
public static final String RT_ID = 'rtTemp';

public void setSObjectType(SObjectType objT) {
   this.oName = objT;
}

function()
{      
	Map<Id, RecordType> rtMap = rtTemp.get(String.valueOf(Account.SObjectType));

	String rtTemp = (String) obj.get(RT_ID);
	
	String rtDName = rtMap.get(rtTemp).DeveloperName;	 // Null pointer exception
}
thank you for suggestion
 
Hello,

I have used a custom cache mechanism.
I also want to use @AuraEnabled(cacheable=true)
Is it possible know the impact of them please ? or how wil they both cohibit
thank you for advise
Hello,
 
To update an existing component to API version 44.0,

How can i check the current API version and will it differ from production to  Sandbox

Thank you
Hello,

How can i throw a message to user to say that the below fields are required.

thank you for suggestion
Hello,
Is there any way to know if the pagelayout has the attribute as required.
if yes, block the save.

thank you in advance
Hello,

I have overrided a page with custom page.
I see that the validation rules are not firing nor the fields that are maked as requred on the page are firing.

Is there any leads i can look in to ?
thank you for sharing
Hello,

I am using aura components.  I have overridden the standard view page with custom aura.

Is there any way in javascript to cache the loading of pages.

Thank you for advise
Hello,

I have below function , when users clicks, 
a new sub tab is opended and the URL is retrived by lightning workspace api which gets the correct url.

But when users clicks on it second time, it get the URL of the tab instead of subtype
fnname(event){ 
                this[NavigationMixin.Navigate]({
                        type: 'standard__objectPage',
                        attributes: {
                                objectApiName: 'Account',
                                actionName: 'new'
                        },
                        state: {
                                recordTypeId:t001XXX
                        }
                });

how can i force the worksapce API to get the correct url paramenter

thank you for suggestion
Hello,

I have a map with Name(String) and Ranks(Integer),
Name is the Pricebook name and Rank is Order by.
map<String,Integer> mapOfNameAndRank = new map<String,Integer>();

Name1, 1
Name2, 2
Name3, 3
I am populating SelectOption in below manner: 
public list<SelectOption> listOfOpt {get;set;}
for(priceBook2 prc : [select id,Name from priceBook2 ){
            listOfOpt.add(new SelectOption(prc.Id,prc.Name));
        }

My usecase is that, the SelectOption should display the Name is the order defined in map.

How can i reiterate the SelectOption inorder to order it.

thank you for suggestion
Hello,

When somone gives a swagger, What else do we need to do to do testing in Postman.

is there any authentcation key i should ask ?

I imported the swagger and i directly clicked on send
I get below error
{
    "code": "500",
    "name": "Internal Gateway Error",
    "message": "error unknown
}
 
Hello,

I have below errror message i received from a process builder.

Error Occurred: The flow tried to update these records: null. This error occurred: DUPLICATES_DETECTED: Click on the links below to view or edit the potential duplicate records.. For details, see API Exceptions.

what can be reason

thanks for suggestion !
Hello,

I am looking for way to override the standard Recent account pages.
User-added image
Basically, I want to remove the New button, and keeping rest as it is.
I donot want to consume new tab

Thanks for suggestion
Hello,

I have a few account records, few of the accounts are ticked as "Customer account"/portal accounts
What does it signifies, and what is its importance ?

How can i make testing of its usability, like i want to know if it is was really useful to make this account as customer account ?

thank yo for suggestion !
Hello,

For the profiles related to chatter name, like chatter free user, chatter external user, there is no option for "Object setting", there a re only optione for "Apex class access", etc.

How can i access the object settings for this profiles
Hello,

While updating records using data loader, do the triggers execute ?

If not, what are other ways of updating records where i can make sure that the triggers execute.

Thank you for suggestions
Hello,

I have a currency field on my object with name Price__c i want to populate it from the field (ParentPrice__c ) of parent (Parent__c) 

how can i achieve it in trigger,
thanks for suggestion
Hello,

How can you check access to users or profiles for price books ?

Thank you
Hello,

I have a picklist with values A, B, C in them,

I want to force the user to chooseat least one of the choice.
Is there any standard way or should i implement any validation rule ?

Thank you for suggestion!
 
Hello,

I alwaays get error when i try to save something from Dev console

Failed to create createContainerMember for containerId duplicate value found: <unknown> duplicates value on record with id: <unknown>
Hello,
 
https://servicesgateway.com/{version}/rest/{service}
 <ConfigElement name="cAccount" Url="https://servicesgateway.com/1/rest/searchByName" ContractID="XXXX" UserPrefix="XXXXXXX" UserID="XXXXX" Password="XXXXX" AppID="XXX" Version="1" />

I have a above link, which is link for web service.

I want to get the data from this link.

What are steps to do so using REST 

Thanks
Hello,

I am looking for a tutorial to integrate a wed service using rest method.

I have webservice which sends XML request and get XML response.
I am looking for tutorial to integrate a simple exsisitng web service, later i will modify for me.

thanks
Hello,

How is it possible to calculate distance between two points given the lattitude and longitude.
Also, are there other geolocalization apps i can have a look

Thanks
 
Hello,

How is it possible to get the developer name for a record type
Hello,

I am using joined report

Is it possibel to take a screenshot of a report (or converting report in to pdf)and get it in apex.

I will later use it to email by scheduler

thank you
Hello,

I have a custom objects.
There are few rows created for this custom object.

How cna i know where all is this custom object used.
Hello,

How is it possible to include a visualforce page along with the dashboard. The dashboard will also have other reports as well
Hello,

How to check the number of dashboard created in salesforce.
 
Hello,

For the release update "Enforce Access Modifiers on Apex Properties in Lightning Component Markup"

I would like to know the steps to follow for analysis and possible workaround if possible.

links for reference :
Link 1 (https://help.salesforce.com/articleView?id=release-notes.rn_lc_enforce_prop_modifiers_cruc.htm&type=5&release=230)
Link 2 (https://help.salesforce.com/articleView?id=release-notes.rn_lc_crucs.htm&release=228&type=5)

Thank you for advise
 
Hello,

i have a use case where i wamt to isert record in to custom log before a null pointer exception is fired.
I am reproducting the null exception and adding log.
but i see that the log is not inserted before the null pointer exception is fired

what can be the issue please

Hello,

I have a code pice like below
If(String.isNotBlank(StringFieldNAME)){
            If(StringFieldNAME.Contains(';')){
                StringFieldNAME = '["'+StringFieldNAME.replaceAll(';','", "')+'"]';
            }            
        }

In the putput of JSON, i have like this
"[\"J\", \"L\", \"M\", \"N\"]"

But My Expectations is 
"["J", "L", "M", "N"]"

How can i do it ?
Hello,

insert cloneQuoteList; 

I am inserting the list of quote.
How can i get the Opportunity Id and Inserted qute id after the insert.

I want to use the Ids to insert the cloned quote line items

thank you
Hello,

When a lead is associated by lead assisgnment, i donest send any alert,
but before the user was getting a alert.

Is there any settign to do ?
thank you for reply
Hello,

Id can be on 15 or 18 digits.

If i delete the last 3 characters from my 18 digits id, will i always get the 15 digits id.

thank you for replly
Hello,

I have created a lookup to pricebook from a custom object.
i dont see an option to add a filter to this lookup criteria, how can i do so

thank you for your solution
Hello,

When i try to delte the report, i have below error:

User-added image
i thik the problem is realted to report in recycle bin.

But how can i detect the reports that was deleted from this folder

thank you in advance
Hello,
Few fields are visible in Rollup summary but few not.
One of the field is Formula (Currency), which is available but other has same type but it is not visible. 

User-added image

what can be the reason ?
Hello,

I have created a button and added to the related paga layout, but this button is not visible.
How can i see it ?

thank you for suggestion 
Hello,

I have a CustomObject1__c

I want to put a condition where
IF the Status__c = 'XyW'
  then - CustomDateField is Mandatory && Date cannot be less than current month

Date can not be less than current month means
If today is 25 october2019  the date can be greater thatn 1st October 2019

Thank you for suggestion
          
Hello,

I have wrtitten a triger like below:

trigger contractAfterInsert on Contract (after insert) {   

When i create new contract, the trigger is never executed, i cecked in prespective analysis, only the validation rule and wrkflow is executed

any idea on reason ?
Hello,

I have received email saying that 3 of the sandbox will be migrted to new instance,
I received certain alreat for changing IP ranges, etc.
What actions are generally taken int his situation ?
do the exsisting users will be impacted, ?
i think there will be no impact on production.

thank you
Hello,

I have a lead, whcih i shared mannually to a user by apex code using/
below link.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm

User-added imageI can also see that lead is shared with user.
But when user see it it shows inssufiecuient proveliges.

what can be reason ?
Hello,

What are the stpeps tofollow, tocreate a new record typein an exsiting org for 2 years.

Thank you for suggestion !
Hello,

I have certain fields on my paglayout. X, Y, Z.

I want to ad a button on the page, say..Custom button.

When "Custom button" is clicked, i want to call a APEXclassName.FunctionName(Value of CustomField X, Value of CustomField Y, Z).

I want to execute like this.

How cani implement the same

Thank you in advance
Hello,

I am making a SOQL quesry to object contact and lead.

From the values i get from the SOQL query, i will construct need to construct a JSON

I have multiple tree, like example below:
https://json.org/example.html
{
    "glossary": {
        "title": "example glossary",
		"GlossDiv": {
            "title": "S",
			"GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
					"SortAs": "SGML",
					"GlossTerm": "Standard Generalized Markup Language",
					"Acronym": "SGML",
					"Abbrev": "ISO 8879:1986",
					"GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
						"GlossSeeAlso": ["GML", "XML"]
                    },
					"GlossSee": "markup"
                }
            }
        }
    }
}

How can i construct a JSON from SOQL responce?
Hello,

When i am trying to convert lead, i have below error:
 
Unable to convert lead that is in use by workflow.

when i check in debug logsi dont see any errors, i only have few logs saying it entered managed package..
Can someone guide me ?

 
Hello,

I have email template that user receives.
When the user replies to this email, they get the HTML tags too.

How can i get rid of HTML tags in this case ?