Questions tagged [angular]
The angular tag has no usage guidance.
71
questions
1
vote
1
answer
54
views
Avoiding Batching of Concurrent Remoting Calls with LCC.callApex in Salesforce
I am developing a managed package in Salesforce where I have integrated Angular as a static resource. From the Angular application, I make remoting calls to Apex methods using LCC.callApex. However, ...
0
votes
0
answers
86
views
Push notifications not recieving in android in hybrid app
We are developing an hybrid app in ionic and we want to implement push notifications feature using this plugin(https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin).We have followed all the ...
0
votes
1
answer
160
views
Building Angular and React components
I have been through tons of documents, searching the web I came across some resources but it hasn't really helped me.
I want to know how to ship an Angular and a React application (step by step) to ...
1
vote
1
answer
748
views
2023 - Lightning Web Components and Angular
We have a 2GP that has a Lightning Component (Aura/Canvas) that displays our content inside of iframes. Our platform makes heavy use of Angular 15 and many Angular components like Angular Materials, ...
0
votes
1
answer
492
views
Multiple Salesforce Chat (embedded service) in Single-page app. How to reinitialize / destroy existing embedded service instance?
Currently in our angular app (single page app), we have one embedded service chat code in one of the pages and another embedded service chat in another page. These are two completely different chat ...
0
votes
1
answer
653
views
Convert Angular 14 app into salesforce (VFpage or LWC)
I have an angular(14) application with user login and data send to salesforce. Now have to change it into salesforce application (either VFpage or LWC) and upload it to community for salesforce users.
...
3
votes
1
answer
506
views
Pass data to web component (angular 6) inside LWC (Lightning Web Component)
I have Angular 8 app defined as web component and
I have Lightning Web Component (LWC) app.
Inside LWC I am trying to pass data into web component through the property of DOM element like
this....
1
vote
0
answers
3k
views
Getting a 404 error while trying to connect backend Api from the Heroku deployed Angular Api
I have successfully deployed my angular app onto Heroku. I have implemented the proxy.conf.json file to connect to the Backend API (which is also deployed in Heroku and its a Java JAX-RS REST API) and ...
0
votes
1
answer
9k
views
How can i match second-last char of a string with RegEx
Angular app!
I need to hide the 2 second-last char of a string and replace them with "XX".
what i got:
+391234567890
what i need
+39123456XX90
How can i match this with a RegEx?
I want to ...
1
vote
0
answers
133
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 ...
2
votes
0
answers
444
views
How to Embed a LWC (lightning web component) within an Angular app (without Aura)?
I created a LWC (just a form) and now I need to embed it within my angular page.
One solution is to put my LWC inside an Aura compnent and then, use Lightning Out, I do not want this I just want to ...
2
votes
2
answers
98
views
SF Lightning and Angular (versions 7) -- Any concerns on the App Exchange
I am trying to write an application in SF Lightning that uses angular (not angularjs, angular, version 7 if it matters) as the front end. To handle this (since it truly is a separate app that is ...
2
votes
0
answers
226
views
Set up Live Agent on hybrid (Angular/Ionic) app
I've been reading about implementing Live Agent into Angular/Ionic app and the documentation only provides information for iOS and Android native apps. I also tried standard method we already ...
1
vote
1
answer
2k
views
Display picklist values in angular ng-options
I have a custom VisualForce page that has an angular controller running the page. I have a <select> on the page and I'd like to populate the select via the Describe information from the ...
1
vote
0
answers
179
views
Angular app in Lightning Web Component [closed]
I'm trying to load an angular app in a Lightning Web Component.
Did anyone manage to do that successfully?
I'd love to see an example.
Thanks in advance :)
6
votes
2
answers
2k
views
ng-view directive won't load on ie11 from sfdc server
everything works well on chrome but no matter what I try I can't get the ng-view directive to display my templates on ie11 (only the header and footer get displayed)
I've tried compatibility mode on ...
4
votes
2
answers
2k
views
Salesforce and Angular 2
I have something like this in my visualforce I need to pass vars to my component because all files are in the Static Resource.
which is the correct way?
var opp="{!opportunity}";
var resource="{!...
9
votes
2
answers
3k
views
Feasability of Angular2 in Salesforce (through VF page)
I've used Angular 1.x in Salesforce with quite a bit of success, but I was wondering if anyone has been able to work with Angular2.
I was able to get a very simple hello world to load, but only if I ...
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 ...
3
votes
3
answers
210
views
Salesforce and JS framework
I just want clear answer, someone told me that using JS framework on salesforce is being discouraged. What and Why?
By the way AngularJS is a JS framework and it's on Dreamforce Video.
0
votes
1
answer
163
views
Securely handle Salesforce Access token after OAth
We are developing an angular2 app which authenticates with Salesforce via OAth's user-agent flow. As of now, we are storing the "access token" in the browser's local storage. The main problem we are ...
1
vote
0
answers
154
views
Combine Lightning with Javascript libraries (React, Angular2) [closed]
We're rewriting our old Salesforce site (based on VF pages) for the new era. We have a lot of logic in our controllers that we want to shift to client-side.
We want to create a Salesforce community ...
4
votes
1
answer
674
views
Create a drill down for a field in visual force page using AngularJS
Create a drill down for a field in visual force page using AngularJS
I have a visual force page using angular JS. I have include this page as a section in Contact standard page. I need to create a ...
0
votes
1
answer
114
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 ...
3
votes
1
answer
510
views
Angular App deployed on salesforce - login with community user
I have an angular2 app deployed on a salesforce environment(Developers Edition).
I am developing a front end UI to call custom apex rest api's using community users (Community Login User). I have ...
1
vote
1
answer
663
views
Angular 2 and SFDC [closed]
We are going to use Angular 2 to build application in SFDC. I want to know what obstacles we can meet on this way.
First of all I am interesting:
What best practices for deploy angular 2 ...
1
vote
1
answer
245
views
Salesforce with Angular Js
I am not familiar with Angular js.
I have few qestions:
a) How to pass the Query param from angular js to salesforce?
b) Here with my code and it is not working.
VF Page:
<apex:page ...
1
vote
0
answers
457
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 ...
1
vote
4
answers
2k
views
Calling a remote action in Angular
I'm trying to get Tasks that belong to the current user when the page loads.
This code works and can easily be copied and pasted in your dev console for testing and it prints all to the console.log. ...
2
votes
1
answer
66
views
Multiple Apex controllers in Angular app [closed]
I have inherited an angular app running in a VisualForce page. There is one apex controller for the page to call the remote actions. I don't see a way to use alternate multiple controllers in this spa ...
0
votes
2
answers
765
views
Angular.js app as a staticresource in Salesforce.com
In Salesforce.com with angular.js app. How do I load a zipped file into staticresource without the .zip extension? I installed the angular mobile pack from https://developer.salesforce.com/mobile/...
4
votes
1
answer
2k
views
Visualforce + Angular JS, ui-router not working
I've been doing some digging to figure out how I can get ui-router to work. I came across this:
How can I reference angularjs template files within a visualforce page?
but every answer on there ...
3
votes
0
answers
240
views
Salesforce: Angularjs and Heroku
I am folloiwng the tutorial mentioned in the below URL.
https://developer.salesforce.com/mobile/getting-started/html5/#angularjs-heroku
I followed exactly as mentioned, I am able to OAuth ...
10
votes
2
answers
8k
views
aura math expressions
I'm messing with Lightning Components doing some very angular-ish things. I like that we can use two-way binding with the "updateon" tag.
Here's my code:
<aura:component >
<aura:...
4
votes
2
answers
9k
views
"Error: [$parse:syntax] Syntax Error: Token ':' is an unexpected token at column" Angular with Visualforce
I am trying some code related to Angular with Visualforce. Here I am trying to implement modal in https://angular-ui.github.io/bootstrap/#/modal
Now when I use a templateURL and give a new apex as ...
1
vote
1
answer
2k
views
AngularJS router loads contet but does not change the URL in the browser
I am currently developing a single page application on Salesforce. I have used ngRoute to navigate the user through the website. I've created a visualforce page and immidietly ran into a problem - on ...
-1
votes
1
answer
458
views
UI Router not working in Visual Force Page
<apex:page standardStylesheets="false" cache="false" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
<body ng-app="uiTest">
<a ui-...
1
vote
1
answer
203
views
Responsive Input fields with Angular and Bootstrap
I know we have multiple bootstrap and VF page libraries available.But i have a very specific requirement where I want to display all possible input fields of Salesforce on a responsive framework ...
1
vote
0
answers
175
views
Create a modal with angular and VF
I want to create a modal window where I can use input fields etc but all these should be in a modal like https://angular-ui.github.io/bootstrap/#/modal
I am currently facing issue same as "Error:...
3
votes
1
answer
598
views
Angular / Aura / Bootstrap - How to decide?
With the advent of aura framework, I was wondering how to decide if I want to go ahead with aura framework or may be I want to create with tried and tested angular with bootstrap framework for my ...
4
votes
1
answer
1k
views
File Upload using Angular FileUpload
I'm trying to Upload an Image to create a Document using Angular File Upload (https://github.com/danialfarid/ng-file-upload)
From this link : Upload functionality in visualforce page I found ...
0
votes
0
answers
167
views
Angularjs with using Salesforce Ajax Toolkit
I am trying to write a VF page using Angularjs with salesforce Ajax Toolkit. However I am continuously greeted with following error.
{Cross-Origin Request Blocked: The Same Origin Policy disallows ...
1
vote
1
answer
165
views
Angular routeProvider vs UI-Router
Can you use Angular routeProvider with Salesforce? I am having trouble rendering views that are located in the static resources zip. Would it be better to use UI Router?
2
votes
0
answers
579
views
ng-bind-html doesn't work with CaseComponent.CommentBody
Could anyone please help me figure out why ng-bind-html doesn't work with CaseComponents.CommentBody?
<table class="table table-hover">
<thead>
<tr>
<th&...
1
vote
1
answer
764
views
Populating Jasmine Angular controller variable before test starts
I am trying to run some tests for some basic angular code that I have written.
You can refer to this post for controller code details - https://wordpress.com/read/post/feed/37884742/822834869
But ...
2
votes
2
answers
4k
views
JSON Serialize returning html entities that are not encoded
I am getting data from a custom field(Article__c) on a Knowledge Article which contains HTML data. When I serialize this data and return it to a VF page I am getting HTML characters that should be ...
3
votes
1
answer
776
views
JS remoting not working with Angular code
I am trying to do a simple remoting code base along with auto update to angular table.
BUt if I call a remote method as it is async, it gets called late and even though I try to push data in my ...
0
votes
3
answers
24k
views
Simple Angular function returning as string [closed]
I am trying to create a simple Angular code base where I am trying to concatenate 2 different values in a angular controller method, but it returns the complete method as its value rather than ...
0
votes
0
answers
47
views
Salesforce1 scripts problem lightning
So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that ...
1
vote
4
answers
8k
views
AngularJS to get Salesforce data using REST API
Below is my angular code to get contact. It runs locally using nodejs.
angular.module('demoApp')
.factory('contactService', function($http, $q) {
return {
getContactDetails: function(...