Skip to content

Does webhook creator work on a live environment? #27

@ecolui

Description

@ecolui

Great job James! On line 144 in ForceUtil.scala, I noticed that you are using the tooling api to create Apex classes and triggers. The api docs indicate that you'll get an error if you attempt to use those methods on a "live" organization. Does this tool only work for Salesforce developer environments and sandboxes?

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_crud_operations.htm

PS: I need to dynamically create triggers on objects that user's select at runtime (on a live environment), so I was just looking through your code to see how you pulled it off.

Also - it seems that the Salesforce Streaming API is pretty new. Would you recommend using the Streaming API (over webhooks)? It seems that the benefit of using the streaming API is that you can create push notifications and subscribe / unsubscribe at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions