Questions tagged [angularjs]

AngularJS, commonly referred to as Angular, is an open-source web application framework, maintained by Google.

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
350 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 ...
3
votes
0answers
245 views

ng-quill with SharePoint AddIn not working

I am trying to use ng-quill with SharePoint AddIn but it's giving me errors, SCRIPT5022: [Parchment] Invalid definition quill.js (244,9) SCRIPT256: This command is not supported. quill.js (7451,3)...
3
votes
0answers
1k views

how to implement the lastest angular 2 version with sharepoint hosted add-ins

Hi I'm trying to implement angular 2 within a sharepoint hosted app, I followed the scot hillier's article Build a SharePoint Add-In with Angular2 and TypeScript but it's a little old and I'm having ...
2
votes
0answers
307 views

Webpart built using latest spfx version not working on the classic site

I have built an angular 1.x webpart application using the spfx 1.4 version. The webpart works in the modern sites pages but is not working on the classic site pages and I am getting the following ...
1
vote
2answers
29 views

Is it possible to have Angular forms connected to a SharePoint Site list?

I want to know if it's possible to have HTML/Angular forms connected to a SharePoint enterprise Site list. The client environment is Microsoft Windows 10
1
vote
1answer
393 views

SharePoint Online authentication with external Angular 8 web application

I've an external web application made with Angular 8 where I should display some data coming from our SharePoint Online site. I've created an user without license that has read-only permissions on a ...
1
vote
0answers
24 views

Change row limit on webpart with JS or AngularJs

I have a webpart wit row limit 9, and a widget that displays me a table with different numbers. I want that table to continue to show me the 9 rows until a date, and after that date to show me 5 rows. ...
1
vote
0answers
71 views

SPFX Angular Element with UI-Router not displaying data

Iam testing Angular Element with SharePoint Framework (SPFX) Webpart, as Andrew Conell has described in his Blog Every thing is working as asspected, i have added UI-Router in webpart just for ...
1
vote
0answers
158 views

Trying to do a POST from SP to Service Now

I have been trying to do a post in Service Now through an angularjs form in SP, however I am always getting a CORS error. I've taken all CORS rules from Service Now and still am getting this error and ...
1
vote
0answers
69 views

Sharepoint Angular JS SP.Utilities.EmailProperties not sending emails to all internal recipients

I am sending email notifications with Angularjs and all recipients are internal users. There is one person who is not receiving the emails and she did get it once, the first time we used the ...
1
vote
1answer
2k views

How to edit a Sharepoint list from an AngularJS list?

I am pretty new with AngularJS, and I need to be able to edit some entries of a Sharepoint list but from an AngularJS list that I made. This is my code right now: <!DOCTYPE html> <html> &...
1
vote
0answers
163 views

Add Angular.js to SharePoint when .json files are blocked

The boss wants AngularJS, and the SharePoint Farm Nannies won't remove the restriction that prevents uploading .json files. There appears to be a manifest.json in every folder, and then an errors and ...
1
vote
0answers
139 views

How to Refresh Data after Angular Update

I'm adding data with this method: .controller("addItemsController", function ($scope, $http) { var url = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getByTitle('MyContacts')/...
1
vote
0answers
9 views

Script error accessing a SP site when same specs as all other users who can access the site are used

I'm working with a SharePoint site. The site contains AngularJs script. All of the users who has access to can access it using either Chrome or IE11. One user he is getting "Angular Undefined" error ...
1
vote
1answer
505 views

REST - Get expanded property data for use in angular

I am trying to figure out how to get the expanded property data and be able to use that data in my angular code. REST call to get expanded property Data: /_api/Web/GetFolderByServerRelativeUrl('...
1
vote
0answers
84 views

Lookup Column in two lists

I have a situation on our team that requires us to redesign a set of lists. This directly relates to a client side development effort where we need to re-engineer a Custom Sharepoint Solution written ...
1
vote
0answers
68 views

ngResource Url parameter issue

I'm creating a type-ahead People search using HTML, JS, AngularJS against the REST endpoint for SharePoint Server 2013 Search API. My specific issue is in my resource definition. The pattern the ...
1
vote
1answer
389 views

SPA using c# and angular js code in SharePoint provider hosted app

We have built an app using provider hosted SharePoint app model with angularjs. Now we are planning to use the app on a SharePoint site which is integrated to ADFS. When I google on how to use ADFS ...
1
vote
0answers
189 views

How do I pass/open an html page to page viewer web part from list

I have 2 web parts on a page. WebPart1 is a script viewer displaying a list of links. (like a nav). WebPart2 is up in the air. I want to click the link /site/SitePages/thefile.aspx) in WebPart1 ...
1
vote
0answers
1k views

Image file corrupted upon upload via REST

I have been attempting to use REST to upload image files to SharePoint but am running into the same issue again and again. The issue is that while the image file uploads to an image library, it shows ...
1
vote
0answers
8k views

implementing fullcalendar with angular js

I am building an event scheduling app by using angular js framework and fullcalendar plugin. I tried to google and implement different ways to make the calendar visible but it's not working. I have ...
1
vote
1answer
262 views

Angular troubles

Let's take this simple example. When I build it on a page not in Sharepoint context it works. Within Sharepoint context it doesn't work correctly. If I bind two fields to the same object they get ...
1
vote
1answer
518 views

Display some fields from sharepoint 2013 list in a page and détails of this item in another page with Angular js, REST

I have a news picture Library (fields : Title, Description, Text, date, Author ), and I want to display in the first page, 5 news : the image, date and the title of the news and when I click on the ...
1
vote
0answers
803 views

SharePoint 2013 upload(and resize) image with REST api problem

I am trying to create an SP2013 APP, the user should be able to upload an image to a SharePoint list. The image needs to be resized before it is being uploaded. I got the upload function to upload the ...
0
votes
0answers
17 views

CSP Frame-Ancestors in SPO

We have an AngularJS application running within a SiteCollection. It works fine, but there is one button which opens a new tab to an intranet tool (Dynamics CRM). $scope.openNewTab = function( url ) {...
0
votes
0answers
17 views

How to use angular-gantt with Sharepoint?

I'm trying to make a Gantt Chart a little different than the one that Sharepoint provides.I'm using angular-gantt to make the chart. In the angular-gantt documentation they put a example on how to ...
0
votes
1answer
66 views

How to add link to item field with angular?

I am a beginner in Angular. I am trying to combine several TASKS list into single Angular table. It works well and here is part of my code, JS part: $http({ method: 'GET', url: $urllist[1], ...
0
votes
1answer
54 views

Promises resolving out of order

Environment SharePoint 2016 AngularJS 1.5.4 Situation I have a query service that wraps REST calls retrieving data from SharePoint lists. This service works without issue in SP 2013, but it is ...
0
votes
1answer
119 views

Upload Attachment to SP List but Files either are empty or not able to open

I am trying to upload an attachment to my Sharepoint list and the upload goes well with a 200 message, however when I go to my list and try to open it, if it is a pdf will open an empty file with the ...
0
votes
0answers
78 views

Retrieve a SharePoint List with Angular JS

I have created an Angular JS application which would output a list of data in a Share Point list. I am trying to make a rest API call to my Share Point List to get the data, however I am unable to do ...
0
votes
2answers
2k views

Rest API POST method getting 400 Bad request

Im new on SharePoint 2016 and i want "POST" items to list ` var data = JSON.stringify($scope.formData); console.log(data) data = data.replace(/[{}]/g, ''); var datavalue = "{__metadata:{'type':'...
0
votes
1answer
304 views

AJAX to Angularjs Response SharePoint

Can someone give me some assistance in converting this AJAX get list items to $http? Specifically I am trying to get the different fields to $scopes. I am aware that when doing $http now you can no ...
0
votes
1answer
288 views

Import export users from SharePoint group to excel using rest

I want to add/remove users from SharePoint group when excel file uploaded by admin person using rest odata or angular. Can any one please help me in this requirement?
0
votes
1answer
50 views

Publishing page, with angular, save/check in leads to page not found

This is in a SharePoint online environment. I have created a publishing page in a pages library in a sub site. On this page, I have dropped a content editor web part which points to an aspx page in a ...
0
votes
2answers
272 views

SPFX Angular *ngFor not working with routing

Iam using Angular project from Sahil Malik's blog Use SPFx with Angular and Angular CLI as a startup solution/project.... And i implemented "@angular/router" for routing with some test pages. Just ...
0
votes
1answer
30 views

angular-aad-implicitflow

I see in SharePoint PnP Git repo: https://github.com/SharePoint/sp-dev-fx-webparts/blob/master/samples There is react-aad-implicitflow why not there is angular-aad-implicitflow. Is there any ...
0
votes
0answers
67 views

Validate Angular js Textbox

In my project I am using angular js. I have a form and I am filling the form details using rest api. The form will get filled by object. I want to disable textbox which value was empty, so I used the ...
0
votes
1answer
126 views

How to get all the records which have EventDate greater than today from a Calendar list using angualrjs $http

PFB my code: var myApp4=angular.module("upcomingEvents",[]); myApp4.controller("upcomingEventsController",function($scope,$http) { $scope.today=new Date(); $scope.today=$scope.today....
0
votes
1answer
1k views

Internet Explorer 10 Script7002 XMLHTTPREQUEST network error 0x800c0007, no data is available for the requested resource

I am not sure wha is going on here but I am repeatedly receiving this error when trying to use the REST API when saving a form. I make the $.ajax call, wait for the promise to return but at some ...
0
votes
1answer
1k views

Integrating SharePoint 2013 on premises with angular 4 in visual studio

How can I integrate SharePoint 2013 on premises with Angular 4 in Visual Studio? How to include my custom html template in the home page?
0
votes
1answer
616 views

How to get Taxonomy field value list?

I have a list with multiple Taxonomy fields (Gender, Region, etc). I'm doing a simple form using Angular to add new items to this list. I'm using the SP Rest API to get and post the information but I ...
0
votes
1answer
123 views

load controls with list item on page load angular js

I am working on an update page and would like to load the current item based on the item selected. I figured out that you can get the id using var itemId = parseInt(GetUrlKeyValue('ID')); But the bit ...
0
votes
1answer
83 views

Display Itemcount retrieved using angular js in div

I have retrieved itemcount of a list using http service, but how do I display the count on the UI? PFB the code: var spApp = angular.module('list-module', []); spApp.controller('list-controller'...
0
votes
1answer
103 views

AngularJS in SharePoint 2013 on a closed network

I have built a few sample web pages with AngularJS and uploading them to my SharePoint 2013 library, referencing angular.min.js. Now I am working on a closed network with no access to the Internet, ...
0
votes
1answer
175 views

Angular not working for spfx webpart

I am trying to load angular in my Sharepoint online custom master page(CDN referenced only once), and have added SharePoint framework web part on the page. But none of the angular operation of web ...
0
votes
1answer
160 views

In AngularJS after patch list item, server does not return data

I met a very strange problem. Short description: I have aspx page with AngularJS and have a List. Implemented 3 types of requests in AngularJS: 1. Get 2. POST 3. PATCH Everything works great ...
0
votes
1answer
249 views

Embed Yammer Feed In Template With Angular.js Directive

As per Microsoft's instructions, I am attempting to embed a yammer feed using the following code: <div id="embedded-feed" style="height:800px;width:400px;"></div> <script type="text/...
0
votes
1answer
426 views

Download file programatically in Sharepoint 2013 using angularjs

I am new to both of these technology and taking this opportunity to learn and explore them. I have a situation where on button click event, I am suppose to put data into a file and allow user to ...
0
votes
1answer
136 views

How I get SharePoint list from another site?

I need to display list from my SharePoint site in the custom AngularJS site on another domain, but I don't know how to accomplish this.
0
votes
1answer
271 views

Use culture information for date format in SharePoint 2013 publishing page layouts

I am facing an issue with displaying the locale based date format in publishing page out. I have this code in page layout : <SharePointWebControls:DateTimeField FieldName="ArticleStartDate" ...