Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [angularjs]

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

0
votes
0answers
20 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 ...
1
vote
2answers
33 views

Call function when press ENTER [closed]

I've this code below: <div class="search-container"> <input id="search-value" type="text" autocomplete="off" ng-model="vm.searchQuery" ng-focus="vm.searchBoxHasFocus = true" ng-blur="vm....
2
votes
1answer
20 views

Display none in table row

How can I do a display none in div with id="NoveMeses" if all elements from h3 show "N.A"? If h3 from div row1 and row2 show me the span="N.A", I want to display none the div NoveMeses. There is my ...
1
vote
0answers
18 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. ...
0
votes
1answer
124 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':'...
1
vote
0answers
21 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 ...
0
votes
1answer
34 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 ...
1
vote
2answers
66 views

Make a Chart with multiple Sharepoint lists (using AngularJS)

few days ago I posted a question on how to do a Chart with AngularJS of a sharepoint list, here's the link. Now I have a more complicated one: how to make a chart with multiple lists? I'm using ...
1
vote
1answer
113 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 ...
0
votes
2answers
130 views

Make a Chart of a sharepoint list using AngularJS?

I want to implement a Chart of a Sharepoint tracker list. I decided to use angular-chart.js, to use this code I also needed Charter.js. So I downloaded both and decided to make a try as one of the ...
0
votes
1answer
108 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
36 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
3answers
85 views

Call a executeQueryAsync function inside success of a function

I am able to fetch single SharePoint List using JavaScript. But here I need to Query other list based on the value fetched from first list. I have also used angularjs for the page. Find the below ...
0
votes
2answers
51 views

How do I return the subsite Link URL for each subsite? Right now, it only displays the title of each subsite

This is what I have so far to basically get all of the subsites but I cannot find a way to link each subsite to it's own subsite url.
1
vote
1answer
248 views

SPFx adal acquire token renewal failed

I have created an angular-adal SPFx project, now when I'm trying to acquire the token. It always displays a message: Token renewal operation failed due to timeout adal.acquireToken("Dynamic 365 ...
0
votes
0answers
41 views

How to fetch data from a different site collection SharePoint site using restapi

Hi am trying to fetch data from a different site collection site using restapi. $http({ url: "http://test.com/sites/test"+ "/_api/lists/getbytitle('TestList')/items", method: "GET", ...
0
votes
2answers
123 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
0answers
93 views

Angular module and controller is not working with require js

I am working in require js for quite long time and recently a project demands angular js with require. Now am working on POC whereas angular module and controller is not working with require js. If i ...
0
votes
1answer
25 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 ...
4
votes
3answers
207 views

Filter Calendar list view using jquery/restapi/angularjs

I have a SharePoint 2013 Calendar list view in a page, also I have a filter with some choice values. Now based on the filter value, the SharePoint Calendar list view should be filtered . I am not ...
0
votes
0answers
31 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
0answers
24 views

Generate Reports from SPList using Angular Code

Is it possible to generate Reports pulled from a SPList inside SharePoint Online List using Angular Code. Has anyone used AngularJS to create reports by querying the SPList Data? note: Want to make ...
0
votes
0answers
17 views

Sharepoint 2013 Multilingual support with Anugular JS

I have a sharepoint list which has column for English and Arabic, Now I need to show the values in webpart by using angular js. how to handle dynamic column in angular js. For e.g <div ng-repeat="...
2
votes
0answers
173 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 ...
0
votes
0answers
45 views

Is there something similar to react-taxonomy picker in angular 4?

I am trying to create an Angular 4 app that will communicate with SharePoint through a web api . I need to get and set values of some taxonomy fields. Please suggest ways to do it. I am new to Angular ...
0
votes
1answer
85 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....
1
vote
0answers
99 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 ...
0
votes
0answers
48 views

Current Item URL SPLIST

I am trying to add a current item url link to each list item when clicking on glyphicon glyphicon-eye-open I created with angular js that is linked to a SPList. I did research and tried finding how to ...
1
vote
0answers
45 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 ...
0
votes
0answers
196 views

Security validation of this page is invalid or corrupted when deleting sharepoint list item using REST api in sharepoint online/ Angular 4

I have written this code in angular 4 data.service.ts -- this service is responsible for making http requests to server delete(id, formDigest?:any) { // return this.http.delete(this.url + '/' + id)...
2
votes
1answer
413 views

Modify/Access webpart properties in SharePoint Framework (Spfx)

I am trying to saving some value in the Web part properties. I know in Spfx you can save or update any value in webpart property like this.properties.myProp = "newValue"; I am using angular ...
0
votes
1answer
615 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
0answers
14 views

The html loaded before code on webpart

I have tried to use this simle code with angular: <html> <head> <meta charset="UTF-8"> <script src="...angularNonMin.js"></script> ... </head> <link rel=...
1
vote
1answer
118 views

angularjs with Sharepoint 2013 using ajax

Although it discussed here: AngularJS with Sharepoint 2010 not working And uses of timeout in order to make the page being loaded synchronous (I don't like this solution) - it's not work. I have ...
2
votes
2answers
783 views

PageContextInfo: Page Context is undefined in sharepoint framework (Webpart)

I am trying to upgrade an old sharepoint project to the latest sharepoint framework. The client part is built with angular. As in spfx _spPageContextInfo is not available so I tired changing the code ...
0
votes
0answers
318 views

Integrate SharePoint online with AngularJS 4 application

How can i create a SharePoint online site in which custom pages (html templates) and my logic (in components) implemented using angular 4 with Routing. Thanks
-1
votes
0answers
537 views

SharePoint Hosted App with TypeScript and AngularJs 5

I want to create a small SP hosted App which uses TypeScript and AngularJs5. Can anyone provide me step by step guide to create such App. If possible please provide a sample App code. It would be ...
0
votes
1answer
721 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?
1
vote
1answer
1k 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> &...
3
votes
0answers
151 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)...
0
votes
1answer
433 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
114 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
2answers
731 views

How to get the list item in angular js?

I was able to create a form using angular using the below code. <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script> <script> window.onload =...
0
votes
1answer
137 views

Can script read the properties of a Content Editor Web Part?

I am working on a script, it's in AngularJS, but it could be jQuery or just JavaScript for the sake of this question. The script is inside a Content Editor Web Part. I want to provide configuration ...
1
vote
0answers
124 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
1answer
4k views

How to call a function in ng-repeat [closed]

I am trying to call a function for each iteration in ng-repeat, but the function is executing only for the last record. PFB the code: Controller: $http({ url: _spPageContextInfo....
4
votes
4answers
3k views

How to retrieve sharepoint list items attachments URL along with all other fields using REST API

PFB the code: $.ajax({ url: _spPageContextInfo.webAbsoluteUrl+"/_api/web/lists/GetByTitle('List Name')/items", type: "GET", headers: { "accept": "application/json;...
1
vote
0answers
438 views

Typescript Angular Cannot find name [closed]

I am working on Aspnet Core Angular project and getting following error: TS2304: Cannot find name 'email'. The code is executed in visual studio 2017. postEmailValidate(email?: string): Observable&...
3
votes
2answers
3k views

How to get choice field choices using REST Api in SharePoint 2013

I have a choice field Status with choice values Approved,Rejected and Hold. How do I retrieve these choices using REST Api? PFB the code: $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + "...
0
votes
1answer
44 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'...