+ Start a Discussion
Andrii Kulish 19Andrii Kulish 19 

AURA. How to connect AURA to SalesForce?

Hello,
I found good presentation on Aura framework (http://jessealtman.com/2013/12/introduction-to-aura/ (http://jessealtman.com/2013/12/introduction-to-aura/" target="_blank)), installed it the Aura Note sample app but still struggle how to connect the app to Salesfoce as it is done in demo. Could you provide a sample how I can use the note application with Salesforce?
- Salesforce apex class does not understand the annotation @AuraEnabled  (sample from tutorial). How to enable it for coding on SF side or to apdate SF records from note application?
            
public with sharing class AuraConnect {
                       @AuraEnabled
                        public static void updateAnnualRevenue(String accountId, Decimal annualRevenue) {
                                   Account acct = [SELECT Id, Name, BillingCity FROM Account];
                                   acct.AnnualRevenue = annualRevenue;
                                   update acct;
                        }
}


- Should I use web services for this (get session, token and login in SF from Note app) in order to connect Aura app with SF dev organization (if yes, could you provide a sample as well)?

Thanks!
Best Answer chosen by Andrii Kulish 19
AshwaniAshwani
Aura is future release. Right now you can use this framework in your environment. There is no documented annotation @AuraEnabled. Salesforce may realese this in Dreamforce 14. Can't confirm but right now it doesn't exist in general.

All Answers

AshwaniAshwani
Aura is future release. Right now you can use this framework in your environment. There is no documented annotation @AuraEnabled. Salesforce may realese this in Dreamforce 14. Can't confirm but right now it doesn't exist in general.
This was selected as the best answer
satya man 4satya man 4
allout (https://fancydressnoida.com/product-category/sarees/) timed out on the remote server,