• abhishektandon2
  • NEWBIE
  • 234 Points
  • Member since 2012

  • Chatter
    Feed
  • 9
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 61
    Replies

I have information and URL link on a record. Looking to use a custom button to email Admin of broken link? I know how to create the button just not sure how to create the code for this. Can anyone provide information for this?

I'm trying to get the amount of Opportunities that are Won to roll up to the accounts to be used for additional segregation

Looks like the Opportunity Products will roll up to the Opportunity, but those amounts will not roll up to the Account

Is there a way around this, am i going to need a class rather than a formula?

Hi, could you please tell me, how to disable a single contact completly without deleting and e.g. not showing the emailadress and telefon number? (Enabling of the contact should only be able for the admins) Thanks!

Is it possible to fetch the look up field as a picklist in cloud flow desiner ?

I;m trying to use SQL in a trigger, and it works as long as I don't use the WHERE clause. Can anyone tell me what I'm doing wrong? All I know is that it's not bringing back any records -- is it the syntax? I've checked the spelling of the fields.

 

Idea mainIdea = [SELECT Id, PostId__c from Idea WHERE PostId__c = :c.ParentId LIMIT 1];

 

PostId__c is a field I've added to Idea, and c is a FeedComment.

Hi,

 

I got this error trying to create this test class:

 

@isTest private with sharing class Opportunity
{
    static testMethod void Opportunity()
    {
        Test.startTest();
        List<Opportunity> lstOp= new List<Opportunity>();
        for(Integer iCount = 0; iCount < 20; iCount++)
        {
            Opportunity objOpp = new Opportunity();
            objOpp .Account= 'Test';
            objOpp .Name= '11111';
            objOpp .StageName= 'Visit';
            objOpp .CloseDate= Date.today();

            lstOp.Add(objOpp);
        }
        insert lstOp;
        Test.StopTest();
    }
   }

 

I have tried

 

Account

AccountName

Account__c

Account__r

Account__r.id

 

And always the same errror??

 

Thank you

 

 

Hi,

how to count number of opportunities related to contact,

total number of opportunities field on contact should be increment/decrement when opp is created/deleted.

how to solve it, pl help me with sample code.

 

Hi All,

 

I have a requirement with me in which i want to set the FROM email address in the out going email. i found thet Orgwide email address will resolve my issue. but even after using that only the sender display name is changed the Fromemail address is still the same.

 

Before using Org wide Email address From address in email

no-reply@salesforce.com; on behalf of;<current User name>

 

After using Org wide Email address From address in email ( i have set XXX name xxx@yyy.com)

no-reply@salesforce.com; on behalf of XXX

 

But i am expecting

xxx@yyy.com; on behalf of XXX

 

 

Code

in the code i set setOrgWideEmailAddress

 

mail.setOrgWideEmailAddressid( id of Org wide Email address record id);

 

Please let me know wat exacltly i sthe issue, or do we ave any other solution of setting from address?

 

Hi,

 

Can any one provide a sample code to perform the Rollup Sum() Trigger.

Thanks

Hi All,

 

i need to track role hierarchy changees.

 

example:

A and B are Sales Managers, here X is reporting to A and Y is reporting to B for some period.

later my Role hierarchy is changed like, now Y is reporting to A and X is reporting to B.

 

Then i want to track these changes on role hierarchy.

 

is this possible to track in salesforce.

 

Regds,

Buss

Cerified Developer

Hi Can anyone help me out over the cloud flow designer data elements and also give some examples using data elements in cloud flow designer?

Hi,

     I wanna build an extention of  Task StandardController.The purpose is given below:

 

   This extention should have a method in its constructor.This method should change the Status field of that individual task record from valu 'Read' to 'Unread'.

 

I will add an inline vf page in detail page of Task, as soon as it gets loaded ,the method in Constructor of extention class should change status field value from 'Read' to Unread' for that individual record!!! 

I'm designing some flows for which I'd like the finishLocation behavior to change depending on the path of the flow.  Depending what happens in the flow, I need users to end up at different pages when the flow is over.  Is there a way to do that without writing custom code?

Hi

 

I have an object named viewing and I have 3 fields on it.

 

Start Time(Date/Time), End Time(Date/Time) and feedback notes(Text)

 

As soon as the user fills up the start time and end time and saves the record, then the Feedback notes field needs to become mandatory automatically. So if the user tries to edit the viewing, he needs to fill out the feedback notes for sure.

 

Can anyone please tell me how to do it.

 

Thanks

Finny

I am looking to set up flow and was wanting to prepoluate varibales with User.AccountID and User.ContactID  I'm not seeing where I can access user variables in Flow.  Am I missing something?

Is it possible to return multiple records within Flow designer on a lookup?

I have not seen a way to loop through result set and assign to a variable[0,1,2...] which could be displayed on a text screen.