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

  • Chatter
    Feed
  • 0
    Best Answers
  • 18
    Likes Received
  • 0
    Likes Given
  • 719
    Questions
  • 277
    Replies
Hello,

I am using page redirection to populate values.
the page redirection works well in Classic but not in lightning

https://gbtp--preprod.cs1.my.salesforce.com/0Q0/e?accid=001b000000nMoZ1AAK&nooverride=1&oppid=006b000000RFaG9AAL
 
        returnURL.getParameters().put('oppid', '006b000000RFaG9AAL');
        returnURL.getParameters().put('accid', '001b000000nMoZ1AAK');
What is trick in lightning to do so

thank you for suggestion
 
Hello,

I have a code below, i want to implement a CSS which when the user hovers he is able to distinguish on which line he is.

so a color change on mouse hover o alternate color will be great, any sugstions ?
<apex:page standardController="Quote" extensions="" lightningStyleSheets="true" docType="html-5.0">
   <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
      <head>
         <apex:slds />
      </head>
      <body class="slds-scope">
         <div class="slds-page-heaIUIUr">
            <div class="slds-media">
               <div class="slds-media__figure">
                  <span class="slds-icon_container slds-icon-standard-opportunity" title="IUIUscription of icon when neeIUIUd">
                     <svg class="slds-icon slds-page-heaIUIUr__icon" aria-hidIUIUn="true">
                        <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/standard-sprite/svg/symbols.svg#opportunity" />
                     </svg>
                  </span>
               </div>
               <div class="slds-media__body">
                  <h1 class="slds-page-heaIUIUr__title slds-truncate slds-align-middle" title="{!currentQuote.opportunity.name}">{!currentQuote.opportunity.name}</h1>
                  <p class="slds-text-body_small slds-line-height_reset">{!currentQuote.name}</p>
               </div>
            </div>
         </div>
         <br/>
         <apex:form >
            <apex:pageMessages ></apex:pageMessages>
            <apex:outputPanel renIUIUred="{!displayTemplateSlection}">
               <div class="IUIUmo-only" style="height: 640px;">
                  <section role="dialog" tabinIUIUx="-1" aria-labelledby="modal-heading-01" aria-modal="true" aria-IUIUscribedby="modal-content-id-1" class="slds-modal slds-faIUIU-in-open">
                     <div class="slds-modal__container">
                        <heaIUIUr class="slds-modal__heaIUIUr">
                           <h2 id="modal-heading-01" class="slds-text-heading_medium slds-hyphenate">Choisir Modèle d'échéancier IUIU YYY</h2>
                        </heaIUIUr>
                        <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
                           <apex:outputLabel >Modèle</apex:outputLabel>
                           <apex:selectList multiselect="false" size="1" value="{!templateEFid}" renIUIUred="{! templateXXX.size > 0}" label="Modèle" title="Modèle">
                              <apex:selectOptions value="{!templateXXX}" />
                           </apex:selectList>
                        </div>
                        <footer class="slds-modal__footer">
                           <apex:commandButton value="Validate" action="{!chooseTemplateXXX}" renIUIUred="{! templateXXX.size > 0}" styleClass="slds-button slds-button_brand"/>
                           <apex:commandButton value="Cancel" action="{!cancelXXXGen}" styleClass="slds-button slds-button_neutral" />
                        </footer>
                     </div>
                  </section>
                  <div class="slds-backdrop slds-backdrop_open"></div>
               </div>
            </apex:outputPanel>
            <apex:actionFunction action="{!computeTotalYYY}" name="computeTotal2" reRenIUIUr="MoneyYYY"/> 
            <apex:outputPanel renIUIUred="{!NOT(displayTemplateSlection)}" id="panelXXX">
               <apex:pageBlock >
                  <apex:pageBlockSection title="Conception" columns="2">
                     <apex:repeat value="{!listEcheGenCon}" var="wrp">
                        <apex:outputText value="{!wrp.XXX}" renIUIUred="{! templateEFid != 'free' }"/><apex:inputText value="{!wrp.XXX}" renIUIUred="{! templateEFid == 'free' }" html-placeholIUIUr="Libellé échéance"/>
                        <apex:input value="{!wrp.PPP}" title="PPP" onchange="computeTotal2()" html-placeholIUIUr="Money (€)"/>
                     </apex:repeat>
                  </apex:pageBlockSection>
                  <div class="slds-text-align_right">
                     <apex:commandLink action="{!addConception}" renIUIUred="{! templateEFid == 'free' }" value="Ajouter"/>
                  </div>  
                  <apex:pageBlockSection title="Réception" columns="2">
                     <apex:repeat value="{!listEcheGenRec}" var="wrp">
                        <apex:outputText value="{!wrp.XXX}" renIUIUred="{! templateEFid != 'free' }"/><apex:inputText value="{!wrp.XXX}" renIUIUred="{! templateEFid == 'free' }" html-placeholIUIUr="Libellé échéance"/>
                        <apex:input value="{!wrp.PPP}" title="PPP" onchange="computeTotal2()" html-placeholIUIUr="Money (€)"/>
                     </apex:repeat>
                  </apex:pageBlockSection>
                  <div class="slds-text-align_right">
                     <apex:commandLink action="{!addRecep}" renIUIUred="{! templateEFid == 'free' }" value="Ajouter"/>
                  </div> 
                  <apex:outputPanel id="oooSection">
                     <apex:pageBlockSection title="ooo" columns="3" renIUIUred="{!dureeZZZ == null || dureeZZZ == 0}">
                        <div class="slds-truncate" title="Dueation IUIUs mmm">Dueation IUIUs mmm</div>
                        <apex:input value="{!dureeZZZ}" title="Dueation IUIUs mmm" html-placeholIUIUr="Saisir Dueation mmm"/>
                        <apex:commandButton value="Save" action="{!updateDureemmm}" styleClass="slds-button slds-button_neutral" reRenIUIUr="oooSection,dureeZZZ"/>
                     </apex:pageBlockSection>
                     <apex:pageBlockSection title="ooo" columns="3" renIUIUred="{!displayXXXGenerator && !(dureeZZZ == null || dureeZZZ == 0)}">
                        <div class="slds-truncate" title="UUU">ZZZ IUIU YYY (month)</div>
                        <apex:input value="{!frequence}" title="ZZZ IUIU YYY" html-placeholIUIUr="Facturer tous les P month (Saisir P)"/>
                        <apex:commandButton value="Monthly" action="{!generateMensuality}" styleClass="slds-button slds-button_neutral" reRenIUIUr="oooSection"/>
                     </apex:pageBlockSection>
                     <apex:pageBlockSection renIUIUred="{!listEcheGenExe.size > 0 || NOT(displayXXXGenerator)}" title="ooo" columns="2" >
                        <apex:repeat value="{!listEcheGenExe}" var="wrp">
                           <div class="slds-truncate" title="UUU">{!wrp.XXX}</div>
                           <apex:input value="{!wrp.PPP}" title="PPP" onchange="computeTotal2()"/>
                        </apex:repeat>
                     </apex:pageBlockSection>
                  </apex:outputPanel>
                  <div class="slds-text-align_right">
                     <apex:outputText value="Dueation IUIUs mmm : {!dureeZZZ} month " id="dureeZZZ" styleClass="slds-badge"></apex:outputText>
                     <apex:outputText value="Money IUIUvis : {!ROUND(currentQuote.TotalPrice,2)} € " styleClass="slds-badge"></apex:outputText>
                     <apex:outputText value="Reste : {!ROUND(currentQuote.TotalPrice - totalYYY,2)} €" id="MoneyYYY" styleClass="slds-badge"></apex:outputText> 
                  </div> 
                  <apex:pageBlockButtons >
                     <apex:commandButton value="Save" action="{!createXXX}" styleClass="slds-button slds-button_brand" />
                     <apex:commandButton value="Cancel" action="{!cancelXXXGen}" styleClass="slds-button slds-button_neutral" />
                     <apex:commandButton value="rreturn" action="{!backToTemplateSelection}" styleClass="slds-button slds-button_neutral" />
                  </apex:pageBlockButtons>
               </apex:pageBlock>
            </apex:outputPanel>
         </apex:form>
      </body>
   </html>
</apex:page>

 
Hello,

I want to override a new button which will redirect to creation of record type.

I have 3 record types

how can i implement it  
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,

After implementation of Google SSO, will the user be able to connect to Salesforce using i and password if not connected to google.

thank you
Hello,

I have page layout on Quote. I want to make one section custom.

Based on the Value from the Opportunity, the visualforce page will be hidden or show.
The VF page will be available in EDIt and detail layout.

How can i implement this use case ?

thank you for suggestion

 
Hello,

I have a Quote related list on Opportunity.

I want to customize the entire related list.

Right now, it has newbutton and it displays certain quotes already present.

My use case:
the related list will always display the related list like before.

The new button will automatically redirect to one of record type based on the customfield on opportunity.

How can i implement this use case ?

thank you in advance
Hello,

I want to createa 3 record type o Quotes.
Right now, nothing exisits.

What impacts will it have on my Apex code or buttons ? and what necessary changes hsould be made ? Thank you for advice
Hello,

I have a related list Quote on page opportunity.
When i click on new i wan that the field lookup(custom) is prefilled with some value.

how can i implement it, thank you for suggestion
Hello,

I have a Quote related list on Right handside of Opportunity.

I want to display Over ride the button new lke below...

If Prrice book selected is XYZ then new button will redirect to New quote of RT X else RT Y

thank you for suggestion
 
Hello,

I have a Quote related list on Right handside of Opportunity.

I want to display Over ride the button new lke below...

If Prrice book selected is XYZ then new button will redirect to New quote of RT X else RT Y

Is it possible to do it ? 
 
Hello,

Is there a way to sore a table in Salesforce whhich can be easily modified and can be accessible from code and from fields.

I have a formula on object Quote..
which says like if catalogue is X and product is Y then priority is 1
like this until 100 but i have 1000 records and the formula is not fitting my usecase.

So any alternative solution is possible ?
 
Hello,

I have picklist_custom__c with values ABX, CDE, PQF
And a chekbox_custom__c

I want to implment a validation rule where
If(picklist_custom__c  == ABX or  PQF)
then the chekbox_custom__c is unchecked

tthank 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,

How can i implement a validation rule to say that for below use case
On CustomObject1__c

The CustomTextField__c is modfiable only if 
  CustomNumber__c == 500 
     && current record.created by == User2

Thank you for Suggestion
Hello,

Following the winter release winter 0. How is it possible to check if the org is well on the winter 20 and also at what date was it done.
thank you 
Hello,

I call a webservice and the reply i store it in data.

When two people or two different users call the API, the API replies only same respose.

Is there any problem in salesforce regarding session or is it a problem of API

thank you for suggestion:

 
Hello,

I have created a connected app.
How can i expose a custom object for web service ?

thank you for suggestion
Hello,

I have a button like below on Opportunity object
User-added image
 
<apex:page standardController="Opportunity" extensions="VFC009_CreateContract" lightningStyleSheets="true" docType="html-5.0" >
    <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <head>
          <apex:slds />
        </head>
        <body>

        </body> 
    </html>
</apex:page>
 
public class VFC009_CreateContract {

    public VFC009_CreateContract(ApexPages.StandardController stdController){
        currentOpp = (Opportunity)stdController.getRecord();
        initPage();
    }

}

If the Created date of opportunity in less than jan 2015, i want to display a message to user to say that "opp is too old cant convert" else the apex code is executed normally.

How can i implement the code ?

Thank you for suggestion !
Hello,

I have below set up:

(Master)Account
             Opportunity
(Detail) Address (Master Lookup)
             Quote (Detail lookup)              
 
I have a lookup on Quote to Address.
I want to implement the filter criteria to display only address which belong to Account id of Quote.

My filter criteria is

Address: Account = ? 

in ? i have only Opportunity ID but i dont have Account ID
I created a formula to get the account but its not displaying in filter criteria.

thank you for advise
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,

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 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 ?
 
Hello,

I have a process builder where it posts on chatter. the process builder is giving error sayig that the chatter group is archived.
but when i check the group,it is active.

Howcan i debug this issue ?
thankyou for advice
Hello,

How can i add a URL link to a VF page layout and is it possible that it can be dynamic as i wanted to do url passing.

thank you in advise
Hello,

I have an emailTemplate.

When the email is sent to the clients, first word HELLO, which is in bold appears to be in different color to some users.

What can be the reason for this unusual behaviour ?
Hello,

I have below error when deploying a process builder with the email alert
You must specify a verified Org Wide Email Address for this sender type

what canbe the workaround ?

 


Hello,

I have "organisation wide adress" but sometimes, when users sends the email: he gets this error message.
 
responseof distance server
552 size limit exceeded

Thanks for advise
Hello,

I was trying to add a "dashboard filter" in lighning.
I am getting only "date" fields for filter.

What are limitations for dashboard filter ?

Thank you for inputs 
Hello,

I am using lightning.

How can see the archived chatter groups ?
Are than any impacts to acivate or diactivate a chatter group ?

Thank you for suggetion