Questions tagged [angularjs]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
34 views

Call all the versions of a SharePoint comment's field with AngularJS

I created a list with AngularJS, using ng-repeat. The data comes from a SharePoint list. In my SharePoint list when I open to see the detail I can see the version history of the "Comments" ...
0
votes
1answer
15 views

Mocking $().SPServices in JavaScript

I'm working on a legacy AngularJS application that runs on SP. In its services, it's heavily using jQuery.SPServices to fetch/save data. This has made the services untestable. Is there an easy way to ...
0
votes
0answers
12 views

Put dynamic javascript content on SharePoint main page

I am new to SharePoint and I would like to put some data retrieved dynamically with javascript and angularjs onto a portion of a SP page. The arrow in the below image shows where I would like to put ...
0
votes
2answers
248 views

HTML drop downs are not working on sharepoint online page

I am facing one strange issue with HTML drop downs. We have deployed drop downs on SharePoint online pages using provided hosted add-in (MVC solution type). We bind data to these drop-downs using ...
0
votes
0answers
27 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 ) {...
1
vote
2answers
44 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
0
votes
1answer
91 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], ...
1
vote
1answer
558 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 ...
0
votes
2answers
1k views

Creating a SPA (single page App) on SharePoint Online

I am new to the SharePoint world & I have been assigned to make a Single-page Application using any Framework (ReactJS/Angular) on SharePoint online (Microsoft 365). The Application needs to take ...
1
vote
0answers
19 views

C# api upload to SharePoint [closed]

I want to read and upload on SharePoint, anyone can help me ? I use C# api. I try by Cloudinay and Api works.
1
vote
1answer
771 views

How to edit Web Part properties in REST or CSOM?

This is a follow-up to my earlier question, How to get all properties of a Site Page using REST API?. Using REST in an AngularJS application, I was able to read the properties of the Web Part Page ...
1
vote
2answers
1k views

How to get all properties of a Site Page using REST API?

I am writing an application in AngularJS for a SharePoint 2013 site collection, using the REST API to talk to SharePoint. My task is to update the Image Link in the Title Bar Properties of every Web ...
0
votes
1answer
55 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
142 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
1answer
29 views

Creating a URL link with href not going to the URL

We have a page that is using AngularJS. I am creating a link: <div ng-if="breakout.AttachmentFiles"> <div ng-repeat="file in breakout.AttachmentFiles" style="display: flex; align-items:...
1
vote
2answers
199 views

SharePoint with AngularJS and Angular

I dont have access to the server side scripting or Farm administration. I have access to only Client Side Scripting & technologies. I have found AngularJS quite easy to integrate with the Client ...
0
votes
0answers
99 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
74 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
35 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
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. ...
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':'...
1
vote
0answers
83 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
330 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
251 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 ...
2
votes
1answer
673 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
407 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
317 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
54 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
367 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
133 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.
2
votes
1answer
815 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
2answers
305 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 ...
4
votes
3answers
360 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
69 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 ...
2
votes
0answers
326 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
1answer
147 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
161 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
74 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 ...
2
votes
1answer
1k 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
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 ...
1
vote
1answer
151 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
2k 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
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?
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> &...
3
votes
0answers
247 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
673 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
124 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
1k 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
276 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 ...