10 Years Later, Salesforce Introduced the Apex Switch Statement in Summer 2018 Release

Poster 2 basic

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

Continue reading

How to convert attachments to files in salesforce ?

Poster 2 basic

Scenario

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.

Screen Shot 1940-02-11 at 5.05.59 PM
Uploaded attachments to an opportunity record

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.

Continue reading

Web Service Interface of UCM Server in Oracle Fusion SaaS

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
Continue reading

Lightning Component for Communicating Server Side Aura Method – Best Practice 1

Poster 2 basic

Aura framework provides a javascript action function to send a request from the lightning component to apex controller and it returns the response back to the client side. Please refer this link to know how the server side action is handled by the client-side controller. In this blog we are explaining the best practices can be followed to do this communication.

Implementation

This implementation requires two components. The server communication is modularized into an abstracted component which is then extended to the second component as needed.
Continue reading