5
votes
Accepted
2023 - Lightning Web Components and Angular
For a simple reduction in latency/load times, you need to deal with "Ahead-of-time (AOT) compilation" (AOT) and "tree-shaking." Basically, Angular bundles tend to be large in size, ...
5
votes
Accepted
Feasability of Angular2 in Salesforce (through VF page)
If you're still interested in creating an Angular 2 app on the Salesforce platform I may have a solution for you. I myself love Angular 2 and everything it brings to the table. My company also works ...
4
votes
Angular 2 and SFDC
If you're only planning on developing Angular in Visualforce, the task is fairly trivial. If you're trying to implement Angular in Lightning, the task is fairly complex.
Static Resource
Start by ...
3
votes
Accepted
SF Lightning and Angular (versions 7) -- Any concerns on the App Exchange
Here are the below things i would do to mitigate any risks
Open an office hour with salesforce security team and walk down the design with them to see how they feel it. If you are partner then you ...
2
votes
Accepted
Calling a remote action in Angular
So the main problem is Merge fields only work in VF pages. If you check this line https://github.com/tylerzika/taskCalendar/blob/master/app/task/task-calendar-controller.js#L32
You have a merge ...
2
votes
Multiple Apex controllers in Angular app
That's what extensions are for. You can include as many extensions as you like on your page. This is great also for reusable code.
<apex:page standardController="Account" extensions="ExtA,ExtB,...
2
votes
Pass data to web component (angular 6) inside LWC (Lightning Web Component)
Also have faced this problem.
This solution:
my-custom-element.setAttribute('my-custom-prop', '{isWork: true}');
works for me. But have to add that my-custom-prop should be named starting with data: ...
2
votes
Securely handle Salesforce Access token after OAth
You can't really stop the token from being used outside of your app. The appropriate response should be to secure the profile/permission sets/sharing settings in your org so that they can't access ...
2
votes
Accepted
Angular JS in Lightning Component
In addition to Praveen's comment, I read some information in the ISV checklist guide that basically says that external MV* frameworks are not supported and will fail security review. Even if you don't ...
2
votes
Accepted
Angular App deployed on salesforce - login with community user
In javascript declare a global variable somewhere:
var sessId = "{!$API.Session_Id}";
Then use that variable in your Angular2 App.
2
votes
Accepted
How can i match second-last char of a string with RegEx
That would look something like this:
let result = source.replace(/^(.*?).{2}(.{2})$/,'$1XX$2');
Where:
() is a "capture group"
^ matches beginning of the string
.*? matches as few ...
1
vote
Accepted
Avoiding Batching of Concurrent Remoting Calls with LCC.callApex in Salesforce
I have solved the issue ,I used the buffer option provided by LCC.callApex. This creates a separate request for each remoting call, preventing the Apex CPU limit from being reached prematurely.
LCC....
1
vote
Accepted
Convert Angular 14 app into salesforce (VFpage or LWC)
Q1: Salesforce app should be normal vf-page or bolt app or other?
You probably don't want a Lightning Bolt Solution, but you can easily embed an Angular app inside Visualforce, Aura, and Lightning ...
1
vote
SF Lightning and Angular (versions 7) -- Any concerns on the App Exchange
This is currently being done with the field service lightning app. If you install field service lightning you can see angular modules within the included static resources if you download them. Field ...
1
vote
Angular JS within visualforce
Yes that is typical Angular code. Look for .js files included in the page and inside those you will find JavaScript used by the page.
There is a lot more to Angular than those declarations: if you ...
1
vote
Salesforce with Angular Js
On b), in this case you need to notify Angular to run its digest cycle by adding:
$scope.$apply();
to the end of the callback function you pass to angular3.getLead. This is because you are making ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
angular × 71visualforce × 27
angularjs × 16
javascript × 13
apex × 12
lightning-web-components × 6
lightning-aura-components × 5
javascript-remoting × 5
lightning × 4
remote-action × 4
salesforce1-app × 3
aura × 3
community × 2
visualforce-component × 2
rest × 2
oauth2 × 2
mobilesdk × 2
heroku × 2
internet-explorer × 2
hybrid × 2
ionic × 2
marketing-cloud × 1
soql × 1
unit-test × 1
api × 1