• SARI4
  • NEWBIE
  • 75 Points
  • Member since 2016

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 12
    Replies
Hi,

I am trying to deploy Approval process with Field Update and Process Flow with Email Alerts using package.xml file and ANT tool.

its giving me not in package error for field update and Email alerts. I have added all field update  like below

<members>obj__c.fieldUpdateName</members>
<name>workflowfieldupdate</name>

And email alert  like beow
<members>obj__c.emailAlertName</members>
<name>workflowEmailAlert</name>

When I retrieve the package then it shows me all fieldupdates and email alert in fiel but on deployment its giving me error. -NOT IN PACKAGE
Hi- I am trying to create an apex trigger to be able to track when products are added or removed from an opportunity  product page. Has anyone created one before? If so, would you mind sharing? Thanks!!
Trying to come up with a way to use the If And combination in a calculation. I have the following

IF( 
   And (Buyer_Present__c = false,
       ( CONTAINS(Commission__r.Name,"Ticket Commission")),
            (125 - Commission__r.Amount_to_Pay__c),
0)
)

All I am trying to get it to do is calculate the difference the dollor value of  (125 - Commission__r.Amount_to_Pay__c) when those conditions are true.
I am writing a workflow rule for the Contact object that will update contact fields based on changes to the Account. 

When the "Lead Rating" (picklist) field equals "A+" and the "Lead Score" (number) field equals "51", I want the rule to trigger. This is what I am using: 

AND(
 ispickval(Account.Lead_Rating__c,"A+"),
 (Account.Lead_Score__c =51))

I am not getting any syntax errors, but the rule is not triggering.
Hi,

I want to show an image(Static resource) in visualforce component based on the value selected in Multi-Picklist. For e.g if values are Contact center completed OR Medical information Completed then only i want to show that image in front of another field. The moment those values are removed from picklist, i want to hide the image. How can i achieve that? 

Please suggest

Thanks
Shubham
Hi,

I have 2 applications, one in classic and one in lightning. For same profile user I want to land by default on Salesforce Classic screen.

Since I created Lightning app and enabled lightning on profile, everytime I login I landed  on Lightning page not on Classic.
I wanted to land on Classic by default.

Please guide.
I Have 2 visualforce page, 
1-custom account create page with Save button(standard controller+ extention)
 2-custom contact create page
when i click on save button(on account page)  should navigate to contact create page. I have done that. but problem is Account field (in contact create page) should get prepopulated with account name.

How to do it? please help me out.
Hi,

I have a XML response in string . I want to parse the response and show on VF page in table.
Below is my XML response.
<?xml version="1.0" encoding="UTF-8"?>
<FR>
   <STATUS>0</STATUS>
   <MSG />
   <ACCOUNTLIST>
      <ACCOUNT>
         <ACCOUNTID>1111</ACCOUNTID>
         <ACCOUNTNAME>ABC</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>2222</ACCOUNTID>
         <ACCOUNTNAME>BCD</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>3333</ACCOUNTID>
         <ACCOUNTNAME>Kurt</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>44444</ACCOUNTID>
         <ACCOUNTNAME>John</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>5555</ACCOUNTID>
         <ACCOUNTNAME>Kennedy</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>1212</ACCOUNTID>
         <ACCOUNTNAME>Model</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>232323</ACCOUNTID>
         <ACCOUNTNAME>ModelB</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>43434</ACCOUNTID>
         <ACCOUNTNAME>Eva</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>9876</ACCOUNTID>
         <ACCOUNTNAME>Marcel</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
      <ACCOUNT>
         <ACCOUNTID>1123</ACCOUNTID>
         <ACCOUNTNAME>Marc</ACCOUNTNAME>
         <DEFAULTDATE>20121231</DEFAULTDATE>
      </ACCOUNT>
   </ACCOUNTLIST>
</FR>


Please help me how to achive my requirnment.

Thanks
 

Hello I created a permission set for 4 users in my org. They are supposed to be the only ones with access to certain fields within an object. I went and created a persmission set, assigned the object fields and then assinged the set to the users. When I login using another user that is not in the permissions set I still am able to see and edit the fields. What am I doing wrong? I did the tutorial that SF offers to set this up, so I didn't miss any steps as this was a guided tour that pointed you where to click. It's called a walk thru: https://help.salesforce.com/articleView?id=perm_sets_overview.htm&type=0
Hi,

I have to write a trigger to calculate next meeting date from today. I have an object which stores input of Frequency(monthly, two month, quaterly), Day(Mon-Fri),Week (Week1 -Week 5). Based on these input how should I calculate the next meeting date from today.

example: If Frequency is "Monthly", Day is "Wednesday" and Week is "Week 3".
then I have to calculate date of next meeting which should be Wednesday of 3rd week of next month.

Please help.
Thanks!