Questions tagged [angularjs]

AngularJS is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Weird Behavior on cloning object in visualforce

I'm having some weird issue where I'm trying to make a deep copy of an object on a button click, but when I do it rotates between a successful clone, and a copy of the object without any of the nested ...
Kevin Yao's user avatar
  • 107
1 vote
0 answers
121 views

How to connect local Angular with Scratch org

I am working on an integration between a Portal written in Angular and a Salesforce Org. To better test this during development I want to connect my local Angular code with my scratch org. To receive ...
Natalia Popova's user avatar
1 vote
0 answers
769 views

Inject Angular JS in LWC

We have a proper Angular JS 1.4 application with App, Controller and service layers that works in VF page which we need to replicate exactly in LWC. We have tried using LWC:dom="manual" to ...
Selva Prabhu's user avatar
-3 votes
1 answer
394 views

Need to add text image and save it in file using lightning or any tool in salesforce [closed]

i have lightning component which will browse and upload image into document object. Requirment -- in lightning component i have one text box. Text should get added over image and then save image in ...
Neeraj's user avatar
  • 1
0 votes
1 answer
2k views

Sorting of DateTime field in Angular JS [closed]

I have a requirement where in I need to sort records in the descending order of DateTime type field in angular JS, used in vlocity template. If I am trying to sort just by Date type field, then the ...
Gaurav Sharma's user avatar
0 votes
1 answer
778 views

using Angular JS /REACT in LWC

As we all know that LWC is built on Web Standard (jUst like REACT JS,Angular Js ), so is it necessary to use these front end technologies in our Salesforce Application. As an architect ,do we need to ...
SFDC LWC's user avatar
1 vote
0 answers
128 views

Migration of existing forcehybrid apps from AngularJS to Angular

We have an existing app running on Cordova 9.0.0, forcehybrid CLI 7.3.0 and Salesforce SDK 7.2.0 which is built using AngularJS v1.7.5. As it is known that AngularJS is deprecated and is not actively ...
Vikram Singh's user avatar
0 votes
0 answers
173 views

Pass custom function response in model popup in VF page using Angular JS?

I have created a Visualforce page and i am using Angular js in it.In Angluar js by using Javascript remoting call Apex method.Now i want to pass apex method response in model popup when click on ...
jsmith's user avatar
  • 155
14 votes
3 answers
11k views

Modern JavaScript Frameworks (Angular Js, React JS ) within LWC

As documented on the below link, https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.get_started_supported_javascript Lightning Web Components Javascript support includes :...
Rushikesh Pandit's user avatar
13 votes
2 answers
8k views

Use of Javascript Frameworks in Lightning Web Component

Is there any documentation available for recommended JavaScript Frameworks (Angular JS, React JS, etc.), which can work well with Lightning Web Component? Most of the places, I found that it supports ...
Ashish's user avatar
  • 2,362
0 votes
1 answer
640 views

Using an angular build inside Salesforce [closed]

Can I take an Angular build and using inside Salesforce within a lightning component?
Dedo's user avatar
  • 4,991
1 vote
0 answers
76 views

Building managed package using JS frameworks/library

I'm trying to do an analysis of an existing managed package that we have built currently we have a bunch of VF pages and Lightning Components. At end of this analysis, we want to determine which JS ...
d_k's user avatar
  • 1,291
0 votes
1 answer
3k views

REST API Call - Request Timeout

Hybrid Mobile App Cordova 8.0.0 Angular 1.7.5 Salesforce MobileSDK 6.2 Method - force.apexrest Issue - Salesforce REST API Call - Request Timeout (20%). Details - When the mobile app is hitting ...
Ramanraj Saxena's user avatar
0 votes
1 answer
156 views

Help with Incorporating Code for Pagination [closed]

I have created a visualforce page that displays an object and allows searching/sorting of the list with AngularJS and now I am trying to add pagination. Here is a perfect example of what I'm looking ...
Brandon's user avatar
0 votes
1 answer
407 views

AngularJS ui-router/session error handling

I have a single page application utilizing angular and ui-router for our community users on our community site. All works great until their session is invalidated (they logout) or it times out. At ...
Kevin B's user avatar
  • 77
0 votes
1 answer
298 views

Which client side JS framework is best to work with Salesforce [closed]

I am a newbie and I want to use client side JS framework in my org (Salesforce Classic). I am aware of following JS framework: Vue Angular React So I want to know which client side JS framework is ...
Hossain's user avatar
0 votes
1 answer
411 views

Angular Static Resource Help

I have a feeling this is going to be an impossible ask and will probably get closed but I am truly stumped and hopefully just writing it out will help get the wheels turning. I am trying to work ...
Olivia's user avatar
  • 3,431
0 votes
1 answer
88 views

Rendering issues with ExtJS and Angular

I'm building a page that does some heavy processing in a CSV file, so I opted for AngularJS to build it. I've noticed, however, that there is a library that is used by Salesforce that is lagging the ...
Renato Oliveira's user avatar
0 votes
2 answers
470 views

Issue while using wrapper class in angular js

I am trying to learn creating forms in vf pages using angular js. Below is the code i am trying to write - There are errors which i am getting in console - $scope.contactwraplist = [...
user2542953's user avatar
4 votes
1 answer
375 views

About table and SLDS

We're working in a wizard implemented in angularjs + slds. There's an autocomplete widget based on [angucomplete-alt] component and the component is embeded in a <table>. But when the user types ...
Matias Kruk's user avatar
-5 votes
2 answers
43 views

Help understanding a bit of Visualforce code [closed]

Could someone explain to me in plain English what this code could possibly be doing. I have been banging my head against the wall to figure out. Esp the CurrencyIso code bit. I am a newbie :) "Obj....
user47790's user avatar
1 vote
1 answer
151 views

How are lookup fields implemented with a 3rd party framework?

I am using Angular for a VisualForce page but would still like to leverage some of the VisualForce components that it provides. For example I have a lookup bound to an angular variable <apex:...
TemporaryFix's user avatar
  • 2,897
0 votes
0 answers
185 views

Lookup field not accessible

We are using angular to display UI and Salesforce is being used to maintain database. We have a REST API class created which has the url Mapping. This class is used to find the records. We are using '...
Salesforce Learner's user avatar
2 votes
1 answer
2k views

Visualforce is not defined while using visual force remoting

I am using angular as a framework for this visualforce app, however when I try to use Visualforce remoting I get an error in the console angular.min.js:123 ReferenceError: Visualforce is not ...
TemporaryFix's user avatar
  • 2,897
1 vote
0 answers
977 views

Display data in a nested table in angular

I am using Lightning in salesforce along with angular. I have below object [{"day":"Wednesday, June 28th 2017"},{"day":"Thursday, June 29th 2017"},{"day":"Friday, June 30th 2017"},{"day":"Saturday, ...
user5129806's user avatar
1 vote
2 answers
563 views

Redirecting to VF Page from Managed Package UI

I want to redirect user to a VF Page from a managed Package UI where code is written in Angular JS, <div class="slds-no-flex"> <span><button class="slds-button slds-button" onclick=...
Dexter D's user avatar
  • 173
1 vote
2 answers
3k views

Angular JS in Lightning Component

I am looking to use Angular JS in Lightning Component. Before starting it, just wanted to check if anyone has tried this implementation before. Is it compatible to use angular js with lightning ...
Devendra's user avatar
  • 5,067
0 votes
1 answer
113 views

Angular JS within visualforce [closed]

Hi This is a generic question I was looking through a piece of code and came across the following within a visualforce page. Can anyone give me any ideas as to what it means exactly. It looks like ...
Rimii's user avatar
  • 61
0 votes
1 answer
5k views

how to retrieve the values from sforce.connection.query

query result: { type: 'Order', Id: null, OwnerOfVehicleRegDocument__r: { type: 'Account', Id: null, Name: 'CK-Carrossier 2', }, ...
Revathy's user avatar
1 vote
1 answer
977 views

Angular js change type of input box

I am running into an issue while determining the type of input box. I have a table in angular and when I change the type of input box it changes the type of all the input boxes in that column. I want ...
user5129806's user avatar
0 votes
0 answers
132 views

Display Data in visual force page using angular

I have a below table <tr ng-repeat="r in rows"> <td>{{$index+1}}</td> <td> <select ng-model="r.selectedObjectRowData" ng-options="option....
user5129806's user avatar
9 votes
1 answer
3k views

AngularJS 4 on Visualforce Pages (or in Lightning Components)?

Some time ago we used Angular 1.x on Visualforce pages for several apps. Now some of these Apps are aged and more or less in need of redesign. This redesign is not because of any actual shortcomings ...
Uwe Heim's user avatar
  • 28.3k
2 votes
0 answers
696 views

Material Design in Aura Components

Does anyone know how can I use the Google Material design in the Aura Components? I have included all the required file like fonts, icons, css and js from the static resource. But, when i try to add ...
AKSHAY Dhiman's user avatar
1 vote
2 answers
141 views

Security question related to using AngularJS in Visualforce for a callout

I recently started learning AngularJS, and I have the following sample code that does a REST callout from a Visualforce page - the code does a successful callout. My question: In the 'app.config' ...
James's user avatar
  • 759
4 votes
1 answer
2k views

Javascript Remoting returning JSON with encoded characters. For example &amp

I have an @remoteaction method that returns a list of custom objects and respective child objects. On client I am using AngularJS to display this array. Since it's a remoteaction Salesforce will ...
JD_06's user avatar
  • 13
0 votes
1 answer
549 views

Salesforce with AngularJS - script resources not loading correctly from staticresource

<apex:page applyBodyTag="false" docType="html-5.0" showHeader="false" standardStylesheets="false"> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></...
JJSHHS's user avatar
  • 505
3 votes
0 answers
1k views

angularJS in lightning component

I was wondering if anyone had any example of using AngularJS in lightning components. I'm able to handel js code using static resource but getting problem in .cmp file how to use their CDATA is also ...
Ashwani Kumar's user avatar
0 votes
1 answer
1k views

Reloading a controller variable with AngularJS

I am new to AngularJS. The problem I am having is that I am changing a variable on my visualforce controller, yet AngularJS does not change. Here is my angular controller: // On Visualforce Page ...
Konnor McDowell's user avatar
2 votes
1 answer
192 views

What are security review's policy regarding apps that rely heavily on the REST API?

For example, if an app uses the JSforce framework to develop a page that uses AngularJS, could it be blocked because of this? I'm wondering because some parts of the code would have queries and other ...
Renato Oliveira's user avatar
2 votes
2 answers
3k views

How to call a controller method from AngularJS

I'm loading the tree-view structure as shown below when the user clicks on the parent/child it spit on the console.log but i'm not sure how to pass the clicked parent/child node to apex controller ...
Nick's user avatar
  • 6,934
1 vote
0 answers
444 views

Angular JS + VF component binding

I have the following scenario: VF page: <div ng-controller="listingGeneratorCtrl"> <div> <div id="rightColumn"> <div ng-repeat="section ...
Marcel's user avatar
  • 55
0 votes
1 answer
4k views

How to refresh the scope variable to refresh the value on html? want to refresh every 10 seconds [closed]

var mainApp = angular.module("mainApp", []); mainApp.controller('StatsController',function($scope) { Visualforce.remoting.Manager.invokeAction( '{!$...
vamsi's user avatar
  • 3
6 votes
2 answers
2k views

Is it possible to use Angular and still be Lightning ready?

I've built a Lightning app and just finished my first Angular app on Salesforce yesterday. Overall, I love Angular development compared to Lightning. There is more support, docs, and a larger ...
Tyler Zika's user avatar
  • 2,818
0 votes
1 answer
237 views

Trying to access a variable in controller from a factory [closed]

In salesforce visual force page I am using angular for my single page application. I have a factory which has one function and also uses a remoting call. I want to use the variable defined in the ...
user5129806's user avatar
1 vote
2 answers
78 views

Change the code to reduce callback

Below is the functionality my code achieves currently Get the customer site . If customer site exists then check if latitude and longitude exist and if all is true then open the Locator with given ...
user5129806's user avatar
0 votes
0 answers
87 views

ngForce integration to salesforce org

I have gone through the videos and gitrepo which are suggested here I clone this directory in my local drive, as you can see below Now I follow the steps which are described here 1) rooted my cmd ...
Dheeraj_Vashist's user avatar
9 votes
1 answer
296 views

Angular Visualforce is freezing in IPad

Background We have a simple VF page that is made using AngularJS+Bootstrap. The page works perfect in browsers (Desktop, Mobile, Iphone and Android S1 app). There is not errors (javascript or apex)...
Martin Borthiry's user avatar
1 vote
1 answer
2k views

Blur button after click of the button [closed]

I am using AngularJS in a Salesforce implementation. there is a button which when clicked does few automations in Salesforce - all good there. But the automation takes about 3-5 seconds to finish thus ...
user28639's user avatar
1 vote
1 answer
74 views

Inline Visualforce page with AngularJS Templates throwing CORS Error

I'm working on an embedded VF page single page app and attempting to setup routes using ui.router ($stateProvider). I would like to break apart my views into inline templates but place them outside ...
user avatar
2 votes
2 answers
3k views

decode Special Character in Angular + Visualforce

My Object label is D & B Company, this is stored in a list at some place When it comes to visualforce page in angular code, it is showing D&amp;B Company How can handle such type of special ...
Yogesh Gupta's user avatar