Questions tagged [framework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
269 views

Apex Trigger Actions Framework MetadataTriggerHandler code coverage

I am trying to use the Apex Trigger Actions Framework (https://github.com/mitchspano/apex-trigger-actions-framework) to keep things organised. I understand all the concepts, but I am having trouble ...
G-Man's user avatar
  • 17
0 votes
1 answer
31 views

How to create a Knowledge mobilisation framework!

I know this question will be rebuked and shut down but I would still like to pick the brains of smart ones! There are lot of siloes in my company who works across various projects in Salesforce ...
Pseudodarwinist's user avatar
1 vote
1 answer
61 views

Using j-fischer error logging framework, Log Monitor not showing whole log data in namespace org

When I am using the log monitor in the developer org , the log data created is fine and completed. But when i am using log monitor in a namespace Org , the log data is not coming as whole. The script ...
Shyam Varshney's user avatar
4 votes
1 answer
257 views

The Single Responsibility Principle vs SOQL Query/Row Limits

This question was asked similarly last month in Break single responsibility to save a soql call and was closed for being opinion based. The given use case also involved Queueable and so wouldn't ...
Morgan Marchese's user avatar
8 votes
1 answer
1k views

"Traditional" Trigger Frameworks vs Dynamic Metadata Trigger Frameworks

I'm all too familiar with the Kevin O'Hara trigger framework and have used it as a base framework in many projects before. However, I've recently been doing some in-depth reading about the idea of ...
Morgan Marchese's user avatar
0 votes
1 answer
49 views

How to know if the managed package is comply with Privacy shield framework?

Is there any possibility/link to understand if the managed packages that we installed/built are complying with privacy shield framework? I didn't see any links or documents which shows the details on ...
KSL's user avatar
  • 512
0 votes
0 answers
2k views

Disable TLS <1.2 with Spring Boot (embedded Tomcat Server) + Heroku

I'm trying to disable TLS <1.2 (so disable TLS 1.0 & 1.1) on my Spring boot (v. 1.4) app which is running on Heroku. This app integrates with Salesforce so for security reasons the app (which ...
sfdcburger's user avatar
2 votes
1 answer
1k views

Sync data between Salesforce & REST API in a resusable way

It feels like groundhog day. As a Salesforce Partner building AppExchange apps one application aspect keeps repeating and the custom solutions I build just don't satisfy my need for reuse. It's about ...
Robert Sösemann's user avatar
2 votes
2 answers
1k views

Comparing old and new field value from Map<Id,Sobject>

I am pretty new to development and I am trying to user Chris Aldridge's Lightweight Trigger Framework http://chrisaldridge.com/triggers/lightweight-apex-trigger-framework/. I am looking to create a ...
LMills's user avatar
  • 23
0 votes
1 answer
2k views

Error: Method does not exist or incorrect signature: void getInstance() In trigger;

I'm with a requirement to populate two fields in Oppty, with the value of one field on Lead, only after the Lead conversion. One of those fields is already mapped through the native conversion of Lead,...
RedMan's user avatar
  • 107
1 vote
2 answers
1k views

Why Salesforce naming conventions are like what they are?

So in salesforce while naming any custom object or any custom filed the spaces between the two words are replaced by an underscore and it add __c in the end. But why cannot they just remove space and ...
Sam swarup 's user avatar
1 vote
2 answers
345 views

Trigger logic in class not updating field

I have a trigger that uses the BusinessHours.diff method to populate one field if two datetime fields are populated on a case. I want to have the logic in it's own class but for some reason i'm not ...
boogie man's user avatar
24 votes
2 answers
4k views

Apex Framework / library for consuming REST services

To consume REST services there is a lot of boilerplate code needed: Build Apex Objects to model the responses Code to deserialize REST responses to those classes Handling of HTTP requests, responses ...
Robert Sösemann's user avatar
0 votes
1 answer
553 views

Carousel in Lightning component - External framework (Slick)

I am trying to import the Slick framework in a lightning component to get a complete carousel. I am doing this with ltng:require <ltng:require styles="{!join(',', $Resource....
Raphael D's user avatar
  • 534
0 votes
1 answer
124 views

Building Angular and React components

I have been through tons of documents, searching the web I came across some resources but it hasn't really helped me. I want to know how to ship an Angular and a React application (step by step) to ...
d_k's user avatar
  • 1,291
-2 votes
1 answer
637 views

How to deploy bitbucket framework to Sandbox? [closed]

How to deploy bitbucket framework to Sandbox? I cloned my bitbucket branch and I have a copy on my desktop. How do I get the javascript framework I copied to Salesforce sandbox? I read the ...
Albert LeRoy's user avatar
1 vote
1 answer
290 views

In a custom framework, should Triggers be allowed to retrigger by default?

I am developing a Trigger framework for our org and I’m faced with a decision of whether to automatically disable a Trigger once triggered or to keep enabled. I’ve got enableTrigger() and ...
Mike's user avatar
  • 1,179
0 votes
1 answer
298 views

Which client side JS framework is best to work with Salesforce [closed]

I am a newbie and I want to use client side JS framework in my org (Salesforce Classic). I am aware of following JS framework: Vue Angular React So I want to know which client side JS framework is ...
Hossain's user avatar
2 votes
1 answer
3k views

Casting Trigger.New to List<Case> in Trigger Framwork

We are using a trigger framework by Kevin O'Hara and I have a basic question about it. Why when I use Trigger.New inside one of the methods I have to cast it to a List of cases in order to use it? ...
Json's user avatar
  • 1,587
-1 votes
1 answer
863 views

Warning when using fflib_QueryFactory

When performing a sub query, I get the following message: WARN|fflib_QueryFactory.subselectQuery(Schema.SObjectType) is deprecated and will be removed in a future release. Use fflib_QueryFactory....
ramondea's user avatar
1 vote
2 answers
509 views

cons of using a front-end framework?

I've been using a front-end framework (FEF) to build my app on the platform. I think I'm starting to see the cons of using a FEF with Salesforce, but I'm not sure. For example, when a user creates a ...
Tyler Zika's user avatar
  • 2,818
5 votes
0 answers
185 views

Can I set an ECMAScript 6 Javascript Map() Object as a Lightning Component Attribute?

I have a scenario where I am building a Javascript Map() object in my client controller helper of a Lightning component. Ideally, I would like to use this map for client-side filtering in a component. ...
Daniel Fuller's user avatar
2 votes
0 answers
533 views

Using microservices to create a trigger framework [closed]

I recently heard about a trigger framework that's based on the microservices architecture. I have searched around and nothing useful has come up. Does anybody have any resources to share? I can ...
Mossi's user avatar
  • 3,906
1 vote
2 answers
159 views

How to understand the salesforce platform point and click features [closed]

I am new to Salesforce, having a good experience in development on mainframes,I want to learn Salesforce to support a project in months to come,I want to understand how to identify that for a ...
user30922's user avatar
5 votes
2 answers
1k views

How to use $A.set() or how to add a custom global value provider?

I am a little bit confused. Knowing that not all features which are available in a pure aura project are exposed to Lightning Components I thought it is mandatory to check against the Salesforce ...
Christian Menzinger's user avatar
0 votes
1 answer
248 views

Apex Trigger Framework to handle old data and validation

I am reading Trigger Framework and try to follow the architecture in SFDC Trigger Framework . I notice there no example on comparing with old data.Is this correct if I just do like this in ...
unidha's user avatar
  • 2,542
0 votes
0 answers
41 views

Replicate Cross Object Formulas with Apex Framework

Thought I would ask the question before I start creating! We have hit the number of references limitation on a few objects - you know the 10 references one which can be raised to 15 (but that's as ...
Michael Gill's user avatar
  • 2,182