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

  • Chatter
    Feed
  • 0
    Best Answers
  • 22
    Likes Received
  • 0
    Likes Given
  • 881
    Questions
  • 304
    Replies
Hello,

I have a formula which gives output age as 33 years old instread of 32
the formula
Age__c = 33
YEAR(TODAY()) -  year(PersonBirthdate)
PersonBirthdate =
PersonBirthdate is standard field
 
hello,

I have a picklist with values X, Y, Z
I have added to record types X, Y, Z

but when in visual studio and i do get resources from org, I don't get all the picklist values available for the field,
any specific reason, please?
Hello,

I have below error 
 
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST: Invalid value for restricted picklist field: FRAME2:Population__c

what can be possible reasons
Hello,

I have a LWC component .
It can be opened in mobile in mobile app or webbrowser .
how can we differentiate between
- if mobile app
OR
- if mobile  browser

 
Hello,
I am debugging flow.
I am providing input values as needed, like opportunity id, but it is not getting detected.
hwhat are the popentail reasons, please
Hello,

I have a flow in salesforce on opportunity.
It has a screen which is displayed to user on one of the step.

Opportunity is linked to account (standard way)

The screen displayed is blank, I want to refill it with values from the account. 

what is the solution overview, please ?

 
Hello,

what are steps o confige an SSO, please ?
I have refreshed the sandbox environtment and i nno more have access to the old SAML data, what things changes, please
Hello,
Is there a loss of data if a text field is converted to picklist field please ?
Hello,

I want to convert the multipicklist to picklist, will I loose the data plea ?
Hello,

I was trying to upload data in sandbox environment, 
I am getting error for close date but I have downloaded the data from production and i am surprised get this issue

error:
SOURCE: 'CloseDate' DESTINATION: 'CloseDate' is not a valid DATE.[Valid date format: MM/DD/YYYY (example: 02/20/1987)].

data actual
CloseDate
5/10/2052

​​​​​​​
Hello,

When I try to export all opportunity fields I got errror
 
Failed to process query: FUNCTIONALITY_NOT_ENABLED: Selecting compound data not supported in Bulk Query

what can be the reason, please
Hello,

I want to upsert data, but how can I specify a custom field as key.
thank you for suggestion
Hello,

What is the best free tool, if i need to export 8k records from production and insert it in Sandbox please 
Hello,

I have below error during deployment of changeset how can I sove it, please
 
System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, RegionF__c: bad value for restricted picklist field: city228: [RegionF__c]
Stack Trace: Class.AC008_RegionOR_Test.RegionORTest: line 15, column 1

 

Hello,

I have a tab "Approval process" in lightning console.

but not able to modify.
I am not able to modify filter nor add anything.
 
filters Close Filters Locked Filters This list view can’t be filtered.This list view can’t be filtered. Filter by Owner   requests assigned to me and my queues

 
Hello,

I have a list view but not able to modify.
I am not able to modify filter nor add anything.
 
filters
Close Filters
Locked Filters
This list view can’t be filtered.This list view can’t be filtered.
Filter by Owner   requests assigned to me and my queues

 
Hello,

 I have a object which i need to give delete access to all people.
the owd is public read write and the profile has delete rights too.

how can I do it pleas ?
Hello,

I have insalled vs studio, i have sfdx and java installared.
i can check both the version.
i have installed sfdx extension pack.

but I still don't get the option of sfdx with ctril+shift+p

what can be the reason, please ?
Hello,

I am sending a request, the body has special character & .
when the server on other side received it, it deletes the json after & and rending it invalid.

How can I replace the & but still keep it as it it
request.setBody(body);
HttpResponse response = http.send(request);
thank you for suggestion
 
Hello,

I have user in UAT and Production.
In UAT the uer is able the see the tab which is a lwc component

the profile have access to object and fields.
what can be the reason for not seeing the tab details in prod and not in uat, please
Hello,

I have user in UAT and Production.
In UAT the uer is able the see the tab which is a lwc component

the profile have access to object and fields.
what can be the reason for not seeing the tab details in prod and not in uat, please
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 want to add a text inside like below

User-added image

caseObj.Descripion= Label.Descrption;

Description label is like
"Date:\nTime:\nname:"

When i try to add this label, it always adds the "Date:\nTime:\nname:"
the new line is never added.

How can i achieve it ?
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,

I have a picklist with values X, Y, Z
I have added to record types X, Y, Z

but when in visual studio and i do get resources from org, I don't get all the picklist values available for the field,
any specific reason, please?

Hello,

I have a tab "Approval process" in lightning console.

but not able to modify.
I am not able to modify filter nor add anything.
 
filters Close Filters Locked Filters This list view can’t be filtered.This list view can’t be filtered. Filter by Owner   requests assigned to me and my queues

 
Hello,

I have a list view but not able to modify.
I am not able to modify filter nor add anything.
 
filters
Close Filters
Locked Filters
This list view can’t be filtered.This list view can’t be filtered.
Filter by Owner   requests assigned to me and my queues

 
Hello,

Few profiles dont have access to element in LWC are there any elements we can test so all have sale accessbility, please ?
Hello,

I have a tab "Environment" which is added to lightning page.
Few profiles see the details of "information tab" but few dont.

The lightning component (Environment) is added to tab the lighting page as shown.
Environment tab as 3 tabs (3 difflightning component), 1st tab information nd its details are only visible to certain profiles.

even the field inside the tab are not visible.

what can e reason please ?

User-added image
 
enironmenTab.cmp
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
	<aura:attribute name="recordId" type="String"/>
    <lightning:tabset selectedTabId="one">
        <lightning:tab label="Information" id="one">
            <c:TabNameDetail recordId="{!v.recordId}"></c:TabNameDetail >
        </lightning:tab>
    </lightning:tabset>
</aura:component>

thank you for suggestion
Hello,

I have below error on console.
what can be reason please ?
aura_prod.js:688 [Report Only] Refused to connect to 'https://company--uat.lightning.force.com/aura?r=70&other.apex_Lead_Create.getResponsible=1' because it violates the following Content Security Policy directive: "connect-src https://static.lightning.force.com https://api.bluetail.salesforce.com https://staging.bluetail.salesforce.com https://preprod.bluetail.salesforce.com blob: *.visualforce.com https://company--uat--c.documentforce.com https://cs174.salesforce.com https://notification-service.sfproxy.null.fra.aws.sfdc.cl wss://notification-service.sfproxy.null.fra.aws.sfdc.cl".

 
Hello,
I am not able to query the package

i am using SELECT id from Z_XX__c but it show that the Z_XX__c is not available

any suggestions please
Hello,

I have 2 text fields
Id_of_contact__c
Name_of_contact__c
both are text fields

Usecase:
when the Id_of_contact__c is updated with id, i wnt the Name_of_contact__c to get the  name of the Id_of_contact__c
In other words, once the  Id_of_contact__c is updated, the SOQL search should be made and the Name_of_contact__c t should be updated by name

i also want to control the null pointers

how is it possible to implement ion flow, please
 
Hello,
when i try to select the product as salescloud in lighnting readiness app, the page dont move forward.
What can be the reason please ?
Hello,

On the screen of a flow, i have a input text with label as
First name.
I want to translate it to different language based on one of the input parametrs of flow.

How can this be accomplished, please 
Hello,

I have below loop where is loop across accounlist and create few set.

Loop{
populate set 1
populate Set 2
}

use set 1
use set 2

Is there a way to create a map something like:
private static Map<Id, ResourceDTO> tempmap     = new Map<Id, ResourceDTO>();
 
private class ResourceDTO {
                       
    public string id {get; set;}             
    public string name {get; set;}
    public string documenttype {get; set;}
    public string documentcategory {get; set;}
    public string filetype {get; set;}                       
    public string content {get; set;}
    public List<string> permissions {get; set;}
    public string publishdate {get; set;}
    public string lastmodifieddate {get; set;}
}

how can i access them , please 

 

Hello,

I have trigger in below pattern

One Account trigger
- Calls Trigger handler

Account Triger handler
- makes distinhuish betwen before ,after, insert, updae
- have each fucntion , which call class to execute actions/functions

I want to improve the trigger to get the data at the beinning of the handler class and execute the trigge logic by using the map 
in other owrds, SOQL to get the user and Account data in beginning and store in map. and use the map in the rest of the account handler.

where i could start from, please 

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 ?