ConnectApiHelper icon indicating copy to clipboard operation
ConnectApiHelper copied to clipboard

Helper class that makes it easier to post Chatter @-mentions, rich text, and inline images with Apex code.

Results 11 ConnectApiHelper issues
Sort by recently updated
recently updated
newest added

With Spring 19, hyperlink support was added. https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_chatter_hyperlinks.htm This adds that functionality noted by the following issue: #17

cla:signed

When using the current version of the helper to create a post in a community, with a reference to a file, I get the error "EntityLink segment not allowed. Contact...

We are using the lightning-input-rich-text(LWC) and when user using text alignment center|right that time `Hello` HTML is generating. Post we are passing `Hello` HTML as **param**(inputText) to **getMessageSegmentInputs** method, but...

I installed the software from [UnofficialSF.com](https://unofficialsf.com/post-rich-chatter-invocable-action/) and when running unit tests, got this error ``` Class.ConnectApi.ChatterFeeds.postFeedElement: line 1458, column 1 Class.ConnectApiHelperTest.testCreateInputFromBody: line 257, column 1 10:18:52.130 (194554713)|FATAL_ERROR|ConnectApi.ConnectApiException: Context user does...

Using SeeAllData=True is against best practices documented https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_seealldata_using.htm Since ConnectAPIs are not accessible in data silo'd tests, it would be great to see these examples reworked to use a mock/stubbing...

I was using this code to create a chatter post on a trigger and had a requirement to create a chatter post for each record and therefore I concluded that...

cla:signed

The class is not bulkified to use in triggers, would be super useful if it could be done so.... I am getting this while operating in a for loop `System.LimitException:...

See https://unofficialsf.com/post-rich-chatter-invocable-action/ I experimented with incorporating the hyperlink code in https://github.com/forcedotcom/ConnectApiHelper/issues/17 but got mired in problems. The hyperlink support is a little weaker than I think it can be.