• Arif Iqbal 5
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 3
    Replies
Hi Team,

I have a scenario on Lead Object. I want to write a trigger to do the following:
Ideally would like this to happen when we create the record before OR after Saving doesn't matter. I tried this with PB and worked fime but sime have implemented Duplicate management rules and there is a conflict with this PB hence disabled it and thought a trigger may be the way forward.

1. When a New Lead is created and the country on the standard Address fields  = United Kingdom it should update a field National_c = National
2. When a New Lead is created and the country on the standard Address fields  is NOT = United Kingdom it should update a field National_c = International
Hi Team,

I have seen a couple of articles on the forum which i have followed but not getting exactly what i want https://developer.salesforce.com/forums?id=906F000000097LbIAI

Scenario

I have stage on the Opportunity as well as associated products. The stages on the Opp drive the stage on the products via Process builder i:e; if i change the stage on theOpp to proceeding all the associated products update to the same stage. 

What I am looking for is if products are at any stage other than Closed Issued. When the Opp stage is selected in edit mode to Closed Issued an Alert Message should appear before the user clicks save to state ' All products will be set to Closed Issued when you click save'.

Can this be achieved with code OR Config?

Thanks,
 
Hi Team,

Scenario.
Currently I have stages on Opps and Products. Some of the stages map to the Product stage so users do not have to manually update them but can also be independly updated.

If an Opportuntity is set to Closed Issued and Product stage is at Proceeding Or commitment once the Opp is saved the Stage automaticall gets updated on Products to Closed Issued which is fine. But what I am trying to do is have a pop message display on the Opp screen when the stage is set to Closed Issued and before Saving the record to state to the user that they need to be sure they would like t save the Opportunity with Stage Closed Issued as it will update the Product stages.

So far I have the following VF page and embedded the ppage on the page layout but not working as expected any help would be great

<apex:page standardController="Opportunity" rendered="{!Opportunity.StageName == 'Closed Issued'}">
 <script type="text/javascript">
  { window.alert("All Products will be set to Closed Issued except those products with a status of Closed Not Issued,"); }
 </script>
</apex:page>
Hi Team,

x2 issues: 

1. Seems I cannot deploy change sets from Sandbox to Prod as the Sandboxes are on version 41.0 for the Platform and Prod is on v40.0. How do I resolve this?

User-added image

2. I am trying to deploy a change set from one Sandboax to another and having an issue with Leads Layout.
Note I have no override button OR changed the layout can someone please advise

Error 
In field: excludeButtons, invalid action:NewProposeMeeting

User-added image
 
Hi Team,

I am not a developer so may need some hand holding. I have a requirement to Hide the Notes and Attachement buttons on Objects for Contacts, Accounts and Opps. The buttons should only be visible on the Leads object. From what I have read this is not configurable and requires Apex Code.

I have created an Apex page with the following code but obviously did not work. What stesp do I take and where do I put the code?

Here is the code i used (I found this on a forum )
<apex:page standardController="Account"> <apex:relatedList list="NotesAndAttachments"> <apex:facet name="header">&nbsp;</apex:facet> <!--This line of code removing the attachment header--> </apex:relatedList> </apex:page>
Thanks, A

Hi Team,

I have a formula and seems bizzare as it is working in other places but not for mailing address. I get the following Error: 

Error: Syntax error. Missing ')'

Formula:
IF( 
Disable_Sharing_Main_Contact_Address__c = TRUE, NULL, 

"Mailing Street: " (MailingAddress)

)
Hi Team,

I have a scenario on Lead Object. I want to write a trigger to do the following:
Ideally would like this to happen when we create the record before OR after Saving doesn't matter. I tried this with PB and worked fime but sime have implemented Duplicate management rules and there is a conflict with this PB hence disabled it and thought a trigger may be the way forward.

1. When a New Lead is created and the country on the standard Address fields  = United Kingdom it should update a field National_c = National
2. When a New Lead is created and the country on the standard Address fields  is NOT = United Kingdom it should update a field National_c = International
Hi Team,

I have seen a couple of articles on the forum which i have followed but not getting exactly what i want https://developer.salesforce.com/forums?id=906F000000097LbIAI

Scenario

I have stage on the Opportunity as well as associated products. The stages on the Opp drive the stage on the products via Process builder i:e; if i change the stage on theOpp to proceeding all the associated products update to the same stage. 

What I am looking for is if products are at any stage other than Closed Issued. When the Opp stage is selected in edit mode to Closed Issued an Alert Message should appear before the user clicks save to state ' All products will be set to Closed Issued when you click save'.

Can this be achieved with code OR Config?

Thanks,
 

I am getting this error when using the following code:

 

<td><apex:outputField value="{!IF(contains(uses.Name,"Signage"),"N/A",uses.Gross_SF__c)}" /></td>

 

 Basically, I have an object (property uses) that I repeat through to build a table of data based on the different uses of a property.  If the current property use in my table is "Signage", I want to display "N/A" else I want to display the Integer value. 

 

There is a related post http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=1071 that suggests this is a bug and a bug fix has been requested. 

 

I am hoping that either I am doing something incorrectly and someone can point it out to me, or that someone might be able to come up with a better solution to this issue.