Questions tagged [angular2]

Angular 2 is the next version of Google's massively popular MV* framework for building complex applications in the browser (and beyond).

Filter by
Sorted by
Tagged with
2
votes
0answers
11 views

SharePoint Online is not serving index.aspx file from document library on mobiles

I have created an angular app and uploaded it to the SiteAssets library of my SharePoint online site renaming index.html to index.aspx. If I open the index.aspx file on my notebook everything works as ...
1
vote
1answer
40 views

Error when compiling after importing into my solution the sp-page-context npm package

I am getting this error when I import the sp-page-context into my angular solution: ERROR in ./node_modules/@microsoft/sp-core-library/lib/SPCoreLibraryStrings.resx.js Module not found: Error: ...
0
votes
1answer
29 views

SharePoint 2013 List NewForm,DisForm,EditForm.aspx to be replaced with CustomForm.aspx(Angular Form)

I have created Angular-6 Form & deployed to the SharePoint 2013 page (CustomForm.aspx). Provided navigation to the new page. Once form is filled & submit button is clicked, an item is created ...
1
vote
0answers
8 views

SharePoint Wiki Page CheckIn not working for IE after adding Angular code in web part

This is a SharePoint 2013 Enterprise Wiki Site and a new Angular 7 app is embedded to Content editor web part in master page. Once a Wiki Page is edited CheckIn ribbon button can be clicked. But the ...
0
votes
0answers
7 views

Remove need to add AAD guest users after AD login to access webapi

We have an angular SPA using adal.js. Our users are all in the same domain protected by Active Directory. After Successful AD login, we want them to access our web apis. The requests fail unless the ...
0
votes
0answers
69 views

Unexpected token error: While calling SharePoint hosted webmethod from angular 6

I have deployed a web service by mapping to sharepoint's layout folder. It is deployed as farm solution. I am able to call web service from browser, which returns json data. When I am trying to call ...
0
votes
1answer
39 views

How to send mass emails with only BCC recipients but not To?

I am trying to send some subscription emails, need all the email addresses in BCC. I tried something like this const requestUrl = `${this.baseUrl}/_api/SP.Utilities.Utility.SendEmail`; const ...
2
votes
0answers
46 views

Error in seting up spfx 1.7 with angular 7

Hi I am setting up a SPFX 1.7 project with Angular 7 using the sample which is done with previous version. https://www.youtube.com/watch?v=_OgEqWtouuU https://winsmarts.com/use-spfx-with-angular-cli-...
1
vote
0answers
148 views

Local workspace file ('angular.json') could not be found error in SPFX

I am trying to use angular 4 in SharePoint Framework. Basic setup is done but when I try to use angular command ng g service app it throws error Local workspace file ('angular.json') could not be ...
2
votes
1answer
295 views

Best JS framework(Angular/React/Vue) to use in SharePoint 2013 [closed]

We have tools (Basically CRUD operations in multiple lists across sites/site collections. Handles large amount of data and has lots of business functionalities/logic) that were built using jQuery and ...
1
vote
1answer
583 views

Accessing sharepoint list using REST api with angular gives 403 error

I am trying to make a call to sharepoint list using REST APIs. I am logged in to sharepoint and when in browser tab, I enter the rest url like: https://myserver.sharepoint.com/sites/mylist/_api/...
1
vote
0answers
466 views

Error when running gulp serve, when implementing SPFX with Angular 4

Implementing SPFX with Angular 4 using the below link: https://blog.hubfly.com/solutions/how-to-integrate-sharepoint-framework-spfx-with-angular-4. Getting the below error after running the gulp ...
2
votes
1answer
1k views

Angular 6 and Sharepoint SPFX

Just wondering if anyone has any samples or links to instructions for running an angular 6 app on Sharepoint SPFX. I have followed this example for Angular 5 but it will not work once I upgrade the ...
0
votes
1answer
613 views

Sharepoint Online & Angular (latest)

i've got some questions for whoever has some experience with Angular and SP Online. What i'm trying to achieve : Move from SP Designer to custom Angular forms (we all know the limits and bugginess of ...
0
votes
0answers
297 views

How to integrate Angular to sharepoint?

My current approach is to build the angular app (Angular 6 at the time) To re declare index.html as index.aspx Place inside a directory in sharepoint. Then in front page, add a web part: Media and ...
1
vote
2answers
301 views

SPFX with Angular 4 - should I use this approach?

I'm just a new guy in the SPO. Angular 4 + SPO - do you think that is Ok? What kind of problem should I think first? Routes? trusted scripts?
0
votes
1answer
70 views

Can be code of SharePoint hosted app which is written in Angular 2.0, move to SharePoint 2010?

I have created SharePoint hosted app which is written in Angular 2.0 in the SharePoint 2013, now I want to use this app's code to SharePoint 2010. Can it be possible?
3
votes
1answer
371 views

SPFx - Template for Angular 2

I need to install an Angular 2 template, but when I try the GitHub templates I have mistakes. Would you give me a quality template or tutorial for Angular 2 with SPFx: Errors:
1
vote
2answers
2k views

Import SP.js to typescript (Angular 4) application and use JSOM

I would like to use JSOM for things like creating Caml queries as I have to migrate AngularJS to Angular 4. The app is running in a WebPart. Unfortunately there is no npm package for this. How can I ...
4
votes
0answers
314 views

Using JSOM calls with Angular 4

I have to port an AngularJS app to Angular4 which now uses promises and have no clue how I can use this with the executeQueryAsync() method from JSOM. I have also not found any documentation to this ...
1
vote
1answer
50 views

Sharepoint Online display Angular Snippet

I'm pretty new to Sharepoint and want to create some kind of dynamic Styleguide. Therefore I need to display some small Angular Snippets with additional libraries like Bootstrap. Is there a way how ...
0
votes
1answer
234 views

HTML does not render properly in SharePoint Hosted App with Angular 2

I am trying to create a very basic SharePoint Hosted App with Angular2. App deployed successfully but it does not render the html properly. And I am stuck at this initial level only. refer below ...
3
votes
1answer
349 views

Has anyone gotten much use out of Angular 2 in SharePoint?

Has anyone gotten much use out of Angular 2 in SharePoint? I'm curious about the benefits of using Angular 2 in SP (onPrem), but it seems the setup time makes it not worth it vs Angular 1. Anyone ...
2
votes
0answers
721 views

Sharepoint 2013 & Angular 2

Hello my fellow developers. As the title implies I have an issue when I try to integrate Angular 2 with SP 2013. Angular needs several files from node_modules in order to work. The problem is that I ...
6
votes
1answer
2k views

Angular 2 with SharePoint provider hosted app

I have one requirement to create SharePoint Provider hosted app with Angular 2. I have beginner level knowledge about SharePoint app with Angular2. I have created one SharePoint Provider hosted app ...
1
vote
2answers
185 views

spfx webpart with angular error

I'm following the few examples I could find about implementing a spfx webpart with angular2. I get this error when deploying to the site workbench (../layouts/workbench.aspx) [SPWebPartErrorCode....
0
votes
1answer
88 views

cant connect SharePoint with sharepointconnector npm package

I have sharepointconnector in my angular2 app. And I am trying connect SharePoint as I see in tutorials but here is error and my code. export class HomeComponent { constructor(){ var ...
3
votes
1answer
2k views

Using Angular2 in SharePoint Online

All I need to develop a simple application in Angular2 which will run on SharePoint Online. I have gone through all the articles relevant to be able to make a decision. My Options are either, I ...