How to roll-up Custom Object field values onto Standard Campaign Object?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I want to create custom roll-up summary fields on the Campaign object from a custom object/field like Appointment__c.Price__c or Invoice__c.Amount__c.



But roll-up summary doesn't give me access to any object other than Campaign Members.



Do I need to write a Trigger or Batch Job do achieve this, or is there another way?










share|improve this question

















  • 1




    You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
    – Pragati Jain
    10 mins ago
















up vote
1
down vote

favorite












I want to create custom roll-up summary fields on the Campaign object from a custom object/field like Appointment__c.Price__c or Invoice__c.Amount__c.



But roll-up summary doesn't give me access to any object other than Campaign Members.



Do I need to write a Trigger or Batch Job do achieve this, or is there another way?










share|improve this question

















  • 1




    You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
    – Pragati Jain
    10 mins ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I want to create custom roll-up summary fields on the Campaign object from a custom object/field like Appointment__c.Price__c or Invoice__c.Amount__c.



But roll-up summary doesn't give me access to any object other than Campaign Members.



Do I need to write a Trigger or Batch Job do achieve this, or is there another way?










share|improve this question













I want to create custom roll-up summary fields on the Campaign object from a custom object/field like Appointment__c.Price__c or Invoice__c.Amount__c.



But roll-up summary doesn't give me access to any object other than Campaign Members.



Do I need to write a Trigger or Batch Job do achieve this, or is there another way?







campaign roll-up-summary






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 16 mins ago









Robs

1,262424




1,262424







  • 1




    You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
    – Pragati Jain
    10 mins ago












  • 1




    You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
    – Pragati Jain
    10 mins ago







1




1




You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
– Pragati Jain
10 mins ago




You can create Roll-Up Summary field only when you have Master-Detail relationship b/w objects. So here you can achieve this via Workflow or Trigger.
– Pragati Jain
10 mins ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Declarative Lookup Rollup Summaries is your friend any time you're seeking to roll up information that's any of



  • Not aggregated under a Master-Detail relationship

  • Requires filtering more complex than achievable with a native Roll-Up Summary field.

  • Uses aggregation operations like Concatenate.

  • Uses a standard object as the child.

  • Involves objects that don't support triggers (using Scheduled mode).

It's open source and well-tested in many, many orgs. You can achieve this objective without writing a line of Apex.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "459"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f235876%2fhow-to-roll-up-custom-object-field-values-onto-standard-campaign-object%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    Declarative Lookup Rollup Summaries is your friend any time you're seeking to roll up information that's any of



    • Not aggregated under a Master-Detail relationship

    • Requires filtering more complex than achievable with a native Roll-Up Summary field.

    • Uses aggregation operations like Concatenate.

    • Uses a standard object as the child.

    • Involves objects that don't support triggers (using Scheduled mode).

    It's open source and well-tested in many, many orgs. You can achieve this objective without writing a line of Apex.






    share|improve this answer
























      up vote
      2
      down vote













      Declarative Lookup Rollup Summaries is your friend any time you're seeking to roll up information that's any of



      • Not aggregated under a Master-Detail relationship

      • Requires filtering more complex than achievable with a native Roll-Up Summary field.

      • Uses aggregation operations like Concatenate.

      • Uses a standard object as the child.

      • Involves objects that don't support triggers (using Scheduled mode).

      It's open source and well-tested in many, many orgs. You can achieve this objective without writing a line of Apex.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        Declarative Lookup Rollup Summaries is your friend any time you're seeking to roll up information that's any of



        • Not aggregated under a Master-Detail relationship

        • Requires filtering more complex than achievable with a native Roll-Up Summary field.

        • Uses aggregation operations like Concatenate.

        • Uses a standard object as the child.

        • Involves objects that don't support triggers (using Scheduled mode).

        It's open source and well-tested in many, many orgs. You can achieve this objective without writing a line of Apex.






        share|improve this answer












        Declarative Lookup Rollup Summaries is your friend any time you're seeking to roll up information that's any of



        • Not aggregated under a Master-Detail relationship

        • Requires filtering more complex than achievable with a native Roll-Up Summary field.

        • Uses aggregation operations like Concatenate.

        • Uses a standard object as the child.

        • Involves objects that don't support triggers (using Scheduled mode).

        It's open source and well-tested in many, many orgs. You can achieve this objective without writing a line of Apex.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 10 mins ago









        David Reed

        21.6k31640




        21.6k31640



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f235876%2fhow-to-roll-up-custom-object-field-values-onto-standard-campaign-object%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke