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
0 votes
0 answers
21 views

Hosting local workbench in Angular SPFX application?

Is it possible to run a local workbench like with regular SPFX React applications through the Sharepoint workbench? Currently when I try to run the ng serve command, it opens the application through ...
Christian's user avatar
0 votes
0 answers
154 views

Upload file to SharePoint online list using angular js

I was trying to upload a file using angular js. Here I am adding my code let anyone know what i am doing wrong here.$scope.myfile always coming as undefined. <!DOCTYPE html><html ng-app="...
Elina's user avatar
  • 369
0 votes
1 answer
40 views

multiple $http calls in angular sp app

I am trying to chain together some http calls using angular to access the 'current' ProjectUID. I need to use this in a variable. I've looked at quite a few articles, and recognized the issue I was ...
user2004758's user avatar
0 votes
1 answer
153 views

PWA/Project Online - Setting Project ID dynamically with REST

I am trying to dynamically set the Project UID in an Angular app which is deployed to every subsite throughout my PWA. I need to be able to ideally, store the Project UID in a global variable which I ...
user2004758's user avatar
0 votes
1 answer
67 views

Obtain relative site URL

I need to save a relative URL to a SharePoint subsite in the html controller of an Angular app I'm deploying directly to a page. I need the URL to be dynamic, so that when I save this site as a ...
user2004758's user avatar
1 vote
0 answers
129 views

Add SPFx to Angular Page

My organization has a site completely designed in angularJS(Not designed by me). Now I have designed a web part using SPFx which I want to add to the existing site. The web part layout is also ...
Priya's user avatar
  • 39
0 votes
1 answer
587 views

Trying to upload files to SharePoint list AngularJS and REST API

I have a SharePoint hosted html file with a form that I use to add a new list item to a SP list via the REST API. I am also reading data from the list using AngularJS for both reading and writing to ...
martinbshp's user avatar
2 votes
2 answers
103 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" ...
Soul Eater's user avatar
0 votes
1 answer
69 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 ...
Ε Г И І И О's user avatar
0 votes
2 answers
871 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 ...
Mayank Surana's user avatar
1 vote
2 answers
328 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
Jorge Meschwitz's user avatar
0 votes
1 answer
1k 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], ...
Mark L's user avatar
  • 4,055
1 vote
1 answer
1k 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 ...
Pepozzo's user avatar
  • 1,073
2 votes
2 answers
4k 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 ...
zuest's user avatar
  • 23
1 vote
0 answers
30 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.
user1611527's user avatar
1 vote
1 answer
2k 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 ...
CigarDoug's user avatar
  • 1,063
1 vote
2 answers
4k 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 ...
CigarDoug's user avatar
  • 1,063
0 votes
1 answer
64 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 ...
Paul Rowe's user avatar
  • 168
0 votes
1 answer
297 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 ...
lumayara's user avatar
  • 121
0 votes
1 answer
2k 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:...
Holden1515's user avatar
1 vote
2 answers
377 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 ...
NewBie's user avatar
  • 23
0 votes
0 answers
322 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 ...
john's user avatar
  • 1
1 vote
2 answers
898 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....
KmDroid's user avatar
  • 385
2 votes
1 answer
66 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 ...
CSAnimor's user avatar
  • 219
1 vote
0 answers
38 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. ...
CSAnimor's user avatar
  • 219
0 votes
2 answers
7k 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':'...
Sunil C Bhuyar's user avatar
1 vote
0 answers
126 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 ...
user3629354's user avatar
0 votes
1 answer
496 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 ...
Joseph Cain's user avatar
1 vote
2 answers
351 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 ...
Soul Eater's user avatar
2 votes
1 answer
905 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 ...
Puli Bala's user avatar
0 votes
2 answers
553 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 ...
Soul Eater's user avatar
0 votes
1 answer
400 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?
Bhushan's user avatar
0 votes
1 answer
118 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 ...
Cosmo Dev's user avatar
0 votes
3 answers
793 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 ...
RBK's user avatar
  • 3
0 votes
2 answers
242 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.
user68133's user avatar
3 votes
1 answer
1k 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 ...
Utkarsh Dubey's user avatar
0 votes
2 answers
573 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 ...
user3629354's user avatar
0 votes
1 answer
33 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 ...
Utkarsh Dubey's user avatar
4 votes
3 answers
528 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 ...
Dheeraj's user avatar
  • 463
0 votes
0 answers
144 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 ...
Naveen Kaliyaperumaal's user avatar
2 votes
0 answers
420 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 ...
Student's user avatar
  • 331
0 votes
1 answer
322 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....
Dheeraj's user avatar
  • 463
1 vote
0 answers
197 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 ...
lumayara's user avatar
  • 121
1 vote
0 answers
101 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 ...
lumayara's user avatar
  • 121
2 votes
1 answer
2k 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 ...
Student's user avatar
  • 331
0 votes
1 answer
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 ...
MattE's user avatar
  • 207
1 vote
1 answer
159 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 ...
Eyal Segal's user avatar
2 votes
2 answers
3k 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 ...
Student's user avatar
  • 331
0 votes
1 answer
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?
Manu's user avatar
  • 53
1 vote
1 answer
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> &...
Soul Eater's user avatar