Questions tagged [angular]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
296 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, ...
nstuyvesant's user avatar
0 votes
1 answer
427 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 ...
user3185455's user avatar
0 votes
1 answer
428 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. ...
Developer's user avatar
0 votes
1 answer
8k 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 ...
Dylan's user avatar
  • 29
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 ...
Sumitra Ojha'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
2 votes
0 answers
419 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 ...
BestAboutMe's user avatar
2 votes
2 answers
94 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 ...
Fraser Orr's user avatar
2 votes
0 answers
213 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 ...
Radomir Tacić's user avatar
3 votes
1 answer
465 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....
Dmitry Golofaev's user avatar
1 vote
0 answers
175 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 :)
user71848's user avatar
0 votes
1 answer
125 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 ...
d_k's user avatar
  • 1,291
0 votes
1 answer
138 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 ...
Praveen's user avatar
  • 10.1k
1 vote
0 answers
153 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 ...
AvailableName's user avatar
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
3 votes
1 answer
488 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 ...
deep's user avatar
  • 43
1 vote
1 answer
652 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 ...
I.Kliavakin's user avatar
1 vote
1 answer
229 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 ...
krishna's user avatar
  • 27
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
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. ...
Tyler Zika's user avatar
  • 2,818
2 votes
1 answer
64 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 ...
Rich's user avatar
  • 23
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 ...
NSjonas's user avatar
  • 10k
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="{!...
Hector Bayona's user avatar
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 ...
Brian Triplett's user avatar
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 ...
mpiatek's user avatar
  • 13
-1 votes
1 answer
456 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-...
Mujtaba Talpur's user avatar
1 vote
1 answer
194 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 ...
SEuser's user avatar
  • 1,835
1 vote
0 answers
172 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:...
SEuser's user avatar
  • 1,835
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 ...
SEuser's user avatar
  • 1,835
0 votes
0 answers
165 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 ...
Aren's user avatar
  • 151
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 ...
tercou1's user avatar
  • 161
1 vote
1 answer
164 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?
WesW's user avatar
  • 11
2 votes
0 answers
570 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&...
zeo2396's user avatar
  • 408
1 vote
1 answer
758 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 ...
SEuser's user avatar
  • 1,835
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 ...
tekstrand's user avatar
  • 169
3 votes
1 answer
580 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 ...
SEuser's user avatar
  • 1,835
3 votes
1 answer
775 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 ...
SEuser's user avatar
  • 1,835
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 ...
SEuser's user avatar
  • 1,835
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 ...
apark's user avatar
  • 151
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(...
doga's user avatar
  • 4,555
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.
Marvz73's user avatar
  • 113
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:...
Shane McLaughlin's user avatar
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 ...
Surya Chandra Rao Gandreddi's user avatar
1 vote
1 answer
315 views

Installing ngForce

I've been embarking on the wonderous journey of learning AngularJS for Salesforce, and I've been trying to work out how to install ngForce on my sandbox org. I've seen this question but as I don't ...
Charlotte G's user avatar
3 votes
1 answer
2k views

Referencing Static Resources URL in AngularJS App

I need to use some icons in static resources in an ng-grid table. I wonder what is the best way to make use of the platform's url resolving. If I put the code src="{!URLFOR($Resource. in Javasript ...
Zaba Monika's user avatar
3 votes
1 answer
447 views

Odd JS Remoting Behavior

I am in the process of porting an AngularJS application to Visualforce and Apex. For some of my services, I am using a custom controller with remote actions. Since this app will be included in a ...
tagCincy's user avatar
  • 341
7 votes
2 answers
393 views

jQuery & Angular in Salesforce

I am very new to Salesforce development coming from jQuery/Angular framework. Can I develop UI containing angular/jquery in Salesforce ?. I am basically trying to learn Salesforce via an approach in ...
daww's user avatar
  • 79
1 vote
0 answers
498 views

Apex REST CORS request

I'm getting an error upon calling my REST endpoint from a visualforce page with Angular. My error is this: XMLHttpRequest cannot load https://... A wildcard '*' cannot be used in the 'Access-...
chrisjlee's user avatar
  • 906
1 vote
1 answer
203 views

Multiple Remoting Controllers for SPA

I am attempting to build a SPA using VF, AngularJS and numerous Custom Apex Controllers with RemoteActions. My plan was to call the Apex backend via Javascript Remoting calls wrapped in Angular ...
tagCincy's user avatar
  • 341