Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [architecture]

The tag has no usage guidance.

0
votes
2answers
31 views

What is the best way to relate product to Account?

Here is the use case. We have a bunch of subscription products that we sell. There is relatively no sales process involved. They come in sign up for the product and they are converted into accounts. ...
0
votes
1answer
67 views

Multi-Org clarification

I am a little confused about the multi-org architecture. Two quick questions that I would like to be clarified: Is the All Contact list shared with all of the Business Units or are separated (even if ...
9
votes
3answers
487 views

Lightning Framework vs Standard Client Side Frameworks (i.e. React) // Which to chose when, and why?

Disclaimer Keep it objective! This one can get a little opinionated, please try to keep your answer specific to the facts a developer should be considering when choosing between two viable options ...
9
votes
1answer
357 views

Schedule and Run a Report as an specific User from Apex

Background What we are trying to accomplish is to run daily some specific reports as an specific user. So far From a lightning component we are allowing the user to select a reports list. Once the ...
1
vote
2answers
61 views

How to properly decouple database layer from service layer in Apex?

I came to Salesforce from the world of Java and have been working with Apex and Salesforce for a year now. I am constantly trying to implement Java (and OOP in general) programming practices in my ...
0
votes
1answer
24 views

Salesforce community pages url authorization

I am novice to salesforce, i have following usecase in my project developed using salesforce with vlocity. 1, restrict community users accessing URLs to community pages based on a flag (flag is ...
0
votes
1answer
22 views

Exporting ContentVersion to ESB [closed]

We are currently designing an integration for exporting 20-50 Salesforce Files to an external system through our ESB. Our current plan is to send the record information and associated ContentVersion ...
-1
votes
1answer
56 views

Refactor SFDC data model? [closed]

I recently joinged a 400+ SF users  company as architect. I observed previous implementation were not as per best practices and lead to bad data quality and Insights. I have been asked by business to  ...
9
votes
5answers
657 views

Any Platform Event Library or Best Practices out there?

I'm coming to a point where my software does to many things at the same time, so I decided to switch to Platform Events to decouple everything. I don't handle external events, I'm only planning to use ...
3
votes
1answer
600 views

Inner Classes/Interfaces

the guide says that one difference between Java and Apex is: Inner classes and interfaces can only be declared one level deep inside an outer class. Considering I know in Java what is an Inner class,...
-1
votes
2answers
238 views

Separation of Concerns? [closed]

I would learn more about SoC in Salesforce but I have a question. Are these concepts really used during the projects or are only "theoretical and academic concepts" never used in real life for ...
0
votes
1answer
33 views

How to get a runtime list of all fields of a given sObject?

So, using this I can get populated fields and values for a given sObject: How to get the Runtime-Type of an Object dynamically (for Primitive Data Types and SObjects) ...and I have this working in ...
2
votes
1answer
2k views

Salesforce Marketing Cloud Architecture

I have tried searching for an SFMC architecture diagram to understand how to links and interacts withe the normal SFDC platform. All I could find is this: Security, Privacy and Architecture of the ...
0
votes
0answers
68 views

How to work around data skew problem?

We have a custom object that is a detail of Account. Every account may end up with tens of thousands of records of this object type. We have the business need to actually have those records under the ...
3
votes
1answer
632 views

Skinny Tables - Salesforce

I read through some documents, and learned that Salesforce internally maintains metadata tables, pivot tables and large data tables, and salesforce kernel then performs queries on these tables to ...
0
votes
1answer
41 views

How can I be a Technical Architect from fresh? [closed]

I would like to ask if anyone can advise me the path to be a Salesforce Developer. Where should I start? What Certification should I start up? How can I get learning materials and free hands-on ...
7
votes
2answers
496 views

Service methods in Lightning Components

What's the best practice for sharing a service method between lightning components? Let's say I have a function getUrlParam(paramName) that gets the value from a url parameter. I have many lightning ...
1
vote
2answers
79 views

Optimal way to link User to custom Object

We have Department as a custom object and want to store Department for our Users. I have come up against a brick's wall since Salesforce doesn't allow to store lookup on User object. Please upvote ...
6
votes
1answer
1k views

Salesforce and microservices

For apps that harness microservices architecture, say I have custom objects 'libraries', 'categories', 'books', and I wish to keep each custom objects into different physical databases (Database per ...
6
votes
1answer
244 views

event propagation breaks with API v40 - FundExplorer Demo app

Szenario We want to refactor a dynamic created list by using only one click event listener on the surrounding <ul>-tag rather having one on each <li>-tag as recommended by Christophe ...
1
vote
1answer
248 views

Ownership skew in very large data volumes

I have a question with regards to ownership skew in an implementation with several millions of records. Having read all the recommendations and related posts in this forum and in other sites, I am ...
1
vote
1answer
44 views

salesforce field mapping

I have a table (Detail) in SQL and creating a custom object in Salesforce (Detail__c). Below are the fields in SQL Detail Table: Will they be a picklist? But how can I relate Detail_Acc_no, ...
1
vote
0answers
45 views

Are community licenses necessary?

I'm trying to understand the Salesforce's licensing model in widespread integration scenario: the client needs to expose some Salesforce functionalities to final customers eg. case submission, profile ...
1
vote
1answer
69 views

Use Case: Sharing For Record Visibility (no Roles)

Does anyone have any advice on my thoughts that we not use (barely) any Roles, and share records solely using Sharing Rules? Originally we looked at having each Division of the company in a Role, ...
0
votes
2answers
402 views

Salesforce and AWS RDS

I have a question around archival from Salesforce. The data needs to be archived from Salesforce to AWS RDS-Postgres on a regular basis, every 12 hours. I searched online and found a couple of results ...
4
votes
1answer
612 views

Design Question: Any way around the “System.AsyncException: Future method cannot be called from a future or batch method” error in this situation?

Goal: Attempt to Authenticate then execute authenticated API request with minimal code in a componentized/modularized fashion. The Players: Helper_Outbound_API_Request: Standardized Flow which ...
3
votes
1answer
283 views

Can flow commit changes prior to invoking a method?

I'm trying to get some advanced architecture setup for my company, but I'm running into an issue with my design; looking for help. I'm attempting to execute an API call from Flow, but I'm getting the ...
16
votes
2answers
1k views

Dealing with auto-batching of triggers

I've recently been trying to come to terms with the oddities of the auto-"batching" of triggers. What I'm referring to is how when dealing with more than 200 records in a trigger execution, ...
8
votes
2answers
189 views

Useful books to master Salesforce

I'm considering buying some books to improve my Salesforce skills. I found this article on the Salesforce developer platform. The three first books of the list "Books by Community Authors" seem to ...
3
votes
2answers
430 views

Patterns of Enterprise Application Architecture (PEAA) for Apex

When I was first introduced to Salesforce our company was medium size, with many straightforward Trigger based business processes. Since then we have merged into a large company with many strategic ...
2
votes
1answer
2k views

Sandboxes - Full versus Partial Copy - Same Except Storage

I cannot find anything that clearly states this fact, and it's important in my dealings with a consultant's co-worker who is being difficult. Full Sandbox Partial Copy Sandbox The different between ...
1
vote
1answer
194 views

Budget data model best practice [closed]

Our requirment is to be add a budget module in Salesforce on the opportunity, that would have years and items. A best description for that is like this excel table: Our current approach is to have 2 ...
0
votes
1answer
41 views

Understanding the execution [closed]

Whats the execution flow when Salesforce record is inserted and by the way I am not looking for SF documentation but logical explanation of why something is executed in the order mentioned in sf ...
2
votes
2answers
131 views

Split Account fields across multiple Visualforce Tabs…Possible?…Been-There-Done-That?

Our Account Page layout is getting out of hand. The "Long Scroll" is not a great user experience. We've implemented a child object containing 75 fields, but all the object's data has a 1:1 ...
2
votes
0answers
368 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 ...
3
votes
1answer
3k views

One Process Builder vs Multiple per single Object

I've read somewhere about an idea of implementing all Process Builders that are executing on a single object within a single Process Builder, instead of using multiple ones (IMO this is a similar ...
0
votes
0answers
26 views

Need help with architecting a solution for product add ons

We are looking to build Add on products for our company. we want to have options of adding on additional products on existing products as we dont want to creating new products for combination of ...
4
votes
4answers
1k views

removeEventListener for DOM event in helper has no effect

I am building a simple Slider component. When a user clicks on the thumb he should be able to start dragging the thumb along the track. So at that point I am registering a mousemove event handler in ...
6
votes
2answers
301 views

How to create selective Object updates listener service in salesforce

I have a custom object with 100 fields, out of those 100 I need to listen to updates for 40 fields (out of those 100 fields). Means if any record gets updated in salesforce for this custom object and ...
3
votes
1answer
1k views

How to validate multiple properties in lightning components (event livecycle / setter)?

I have a question about the architecture and event lifecycle of lightning components: how can I validate more than one depending attributes? Think about the following example: I have a ...
3
votes
1answer
2k views

Pros and Cons of using a Trigger Factory

I'm working in SalesForce and am wondering if anyone can share any pros and cons in regards to utilizing the SalesForce Trigger Factory. Is it better to utilize the triggers individually, or is it ...
1
vote
0answers
73 views

Salesforce Infrastructure monitoring

Have anyone take a look at possible monitoring tools for Salesforce? I would like to monitor Salesforce servers for avaliability, traffic and performance. Any input would be appreciated
6
votes
1answer
729 views

One Trigger to rule all!

I'm trying to make work a trigger architecture pattern that was designed by Adam Purkiss, I believe around 2012. I know that there are other more recent designs but I just want to try this one from ...
4
votes
3answers
4k views

purpose of utility class

In my organisation , they ve written a class and in description it says " This is Utility Class " . Actually what is the purpose of utility class ? Why are we using that ?
8
votes
1answer
510 views

Considerations for calling out to enterprise applications behind a firewall from salesforce?

If I'm looking to integrate an enterprise application behind a firewall with Salesforce, what considerations should I be making? From the architect certification study guide Given a scenario, ...
7
votes
1answer
2k views

REST API - Retrieving records linked to a contact object

I'm attempting to use the REST API to pull out the contact record for a Client object and then retrieve all associated data from objects that belong to that Client. There are 28 pertinent objects (a ...
11
votes
2answers
376 views

Apex Modular Programming

I have a big Apex controller of a visual force page ,2500 lines of code, so i m wondering how can i separate implemented features in different module according to the topic. DealRowEdit(Apex ...
2
votes
1answer
90 views

Is it possible to gain some of the benefits of Salesforce1 within a custom app?

My company wants to build a custom, native iOS app for iPad. "Custom" because this will enable us to add bells and whistles that are not readily available within Salesforce1. However, the ability to ...
3
votes
1answer
1k views

How to find the POD of the production Org if MyDomain has been enabled?

Once you enable MyDomain, all URLs change from the POD-specific ones to be MyDomain-specific. Is there any easy way to find out the POD the Org is running on without contacting Salesforce? Any help ...
1
vote
1answer
72 views

SFDC Enduser requests always go to Database? [closed]

Each interaction between and end user and the Apex runtime server requires a request to a Force.com database--is this correct..I thought it is because everything is stored as meta data in database ,...