Giter Site home page Giter Site logo

Creating Triggers about apex-mdapi HOT 5 CLOSED

certinia avatar certinia commented on July 30, 2024
Creating Triggers

from apex-mdapi.

Comments (5)

afawcett avatar afawcett commented on July 30, 2024

As it happens I have used the Apex Metadata API library to do this recently in a tool I have developed. The relevant bit for your question is here. https://github.com/afawcett/declarative-lookup-rollup-summaries/blob/master/rolluptool/src/classes/RollupController.cls

from apex-mdapi.

afawcett avatar afawcett commented on July 30, 2024

Do feel free btw to follow up on the dead ends you found with this info you find it useful.

from apex-mdapi.

afawcett avatar afawcett commented on July 30, 2024

I also see now your working in Java from your question on StackExchange. Which I will take a look at over the next day or so (on holiday at mo). However doing a Metadata API deploy will work, there should be a Java example in the Metadata API Developers Guide under 'deploy'.

from apex-mdapi.

afawcett avatar afawcett commented on July 30, 2024

The Tooling API should do this. I am sure I have seen something from Metadaddy on StackExchange on this. Will look later. In the meantime your app sounds very interesting! Look forward to hearing more about it perhaps? ;-)

from apex-mdapi.

afawcett avatar afawcett commented on July 30, 2024

Here is the StackExchange answer I was reffering to by Metadaddy, this should hep, http://salesforce.stackexchange.com/questions/9603/how-do-i-use-the-tooling-api-to-create-a-new-apex-trigger

from apex-mdapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.