Visualforce and Angular – @RemoteAction in Action

Visualforce and Angular - @RemoteAction in Action

Since last time we added a component and a service we should probably make that server get some data. We will use the @RemoteActions we defined earlier for that. Add Controller Reference To use the @RemoteActions on ourTryAngularController controller we will need to tell the page what controller we are using. On your TryAngular.page we … Continue reading Visualforce and Angular – @RemoteAction in Action

Visualforce and Angular – Setting Up an Apex Controller

Visualforce and Angular - Setting Up an Apex Controller

With our Angular app running on Visualforce page we now need to be able to get some data for it from Salesforce. We will be adding an Apex controller for this. Create Apex Controller In Mavensmate to to the METADATA menu and choose New Apex Class to open the New ApexClass menu. METADATA Menu Choose … Continue reading Visualforce and Angular – Setting Up an Apex Controller

Visualforce and Angular – Getting Angular Working in Salesforce

Visualforce and Angular - Getting Angular Working in Salesforce

If you have been following along we now have the basics set up: a Visualforce page, a Static Resource, and an Angular app. Now we need to tie them all together. Update Angular Output First thing we are going to do is update the default output folder for our Angular app. You can do it … Continue reading Visualforce and Angular – Getting Angular Working in Salesforce

Visualforce with Vue.js – Part 6 – RemoteAction Updates, Creates, and Deletes

Visualforce with Vue.js - Part 6 - RemoteAction Updates, Creates, and Deletes

We've been working on getting our Vue.js app working with @RemoteActions. Last time we took a side trip to get the styles working. Now that things are better let's round out the functionality. Update Apex We are going to need to add methods to our Apex class to update, create and delete contacts so let's … Continue reading Visualforce with Vue.js – Part 6 – RemoteAction Updates, Creates, and Deletes

Visualforce with Vue.js – Part 6 – Working with Bootstrap in Lightning

Visualforce with Vue.js - Part 6 - Working with Bootstrap in Lightning

When we left off last things were looking pretty fugly*. Lets add some styles to make it more pleasant. Get Bootstrap Lets start by downloading a copy of from GetBootstrap.com. Once we have that we can create a static resource from it: Static Resource bootstrap Now lets add apex:stylesheet on our page to the bootstrap … Continue reading Visualforce with Vue.js – Part 6 – Working with Bootstrap in Lightning

Visualforce with Vue.js – Part 5 – Get Data with RemoteActions

Visualforce with Vue.js - Part 5 - Get Data with RemoteActions

Last time we got the app to load lets see what it would take to get something from Salesforce. Get Some Class Alright let's start by adding a class. In Mavensmate with your project open to to the Metadata Menu and choose New Apex Class. In the next menu choose Default for Metadata Template and … Continue reading Visualforce with Vue.js – Part 5 – Get Data with RemoteActions