This will be a glad news for all salesforce developers who were looking for an apex switch statement for decades to simplify most of the lengthy apex statements. Exactly 10years back there has been an Idea posted on the Idea exchange for this.
IdeaExchange Link – https://success.salesforce.com/ideaView?id=08730000000BrSIAA0
I have uploaded an attachment (salesfiorce_migration_guide.pdf) to an opportunity record from classic salesforce. The uploaded document record has the following actions where ‘view’ action is a link to download the file.
Next, uploading another file (router-sample.pdf) to the same opportunity record using upload file functionality in lightning. The uploaded files in the above and current scenario are shown below.
What is UCM ?
Universal Content Management, abbreviated as UCM is a content management server used in Oracle Fusion Applications for loading files into the Fusion Server. It is also commonly used to host static files like company logo, help docs, etc.
How can I access UCM Server of my Fusion Environment ?
A UCM Server will be included with every Oracle Fusion SaaS subscription. You are actually accessing the UCM server indirectly from the associated Fusion Environment during activities like data loading through HCM Data Loader (HDL), etc
This implementation requires two components. The server communication is modularized into an abstracted component which is then extended to the second component as needed.
In lightning, we have developed multiple components for different functionalities. All custom components include a lot of boilerplate code and we will have to exclude most of the redundant code by building generic function in the helper part of aura bundle. However, it wouldn’t be the perfect solution to avoid the redundancy as we will have to do the same for other components as well. For example, Communication between an apex controller and a component is written separately for each custom component, even if the components are related to each other. Are there any mechanisms available in lightning for abstracting the boilerplate into one component for others to make use of it?
From my experience, this can be solved by Inheritance as it makes the code more structured and flexible. The Salesforce Apex framework supports inheritance similar to what we see in object-oriented programming languages like Java and others. Is Aura framework built to support inheritance?