Posts

Showing posts from September, 2018

OPTICAL CHARACTER RECOGNITION FROM THE MICROSOFT COGNITIVE API

Image
Hi Trailblazer Community, From a long back i was planning to write blog on optical character recognition but i was not getting time for it. So what is the Meaning of the OCR :- OCR ( optical character recognition ) is the recognition of printed or written text characters by a computer. This involves photoscanning of the text character-by-character, analysis of the scanned-in image, and then translation of the character image into character codes. I have done the OCR Reader work with Google Cloud Vision Api & Microsoft Cognitive Api. Microsoft Cognitive Api : From Microsoft Cognitive Api i have used the image url for scanning image. We can do OCR from base64 code also. Google Cloud Vision Api : From Google Cloud Vision Api i have done ocr using the base64 code. For R&D purpose i have created the account for Microsoft Cognitive Api . After creating account you will get the authentication id and authentication token. //Apex Class :  public with s...

PATH IS NOT COMING IN MOBILE??

Image
Hi Trailblazer Community, Last few days i was getting the problem that path was not showing in mobile. Might be you guys also have seen this issue. What i have done to resolve this problem i have used the lightning base component and override the mobile layout from by lightning component(Short and sweet).                                                                              || Above screenshots are showing the the path in Desktop and Mobile. I have used l ightning:path  base component for that that has been reduced my lines of code....Thanks @Salesforce for the base component. I have designed the Lightning Component for that and override with the mobile layout in Button and Action section. Here i am sharing the entire layout for that you can use this layout ...

CLOSE YOUR QUICK ACTION ONCE THE ACTION PERFORMED

Image
Hola Trailblazer Community, Today i am gonna share some solution for the problem that how to close the GLOBAL action once the record is created or once the once the action is performed. Use Case : I have created the global action from visualforce page OR lightning component how i will close the action automatically if my action completed the task. So .....Here we go...!! I will start from example... I have visualforce page. In my visualforce page i am creating contact. Now i want one global action for crating the contact and after creating the contact my global action should close and my current page should redirect to the contact which i have created from the action. //APEX CONTROLLER public with sharing class CloseAction {     public String lastname{get;set;}     public String contactId{get;set;}          public TestCloseAction(){ }          public void submit(){        ...