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 [knockoutjs]

Knockout.js is an open source JavaScript library for dynamic HTML UIs using the Model-View-View Model (MVVM) pattern.

1
vote
0answers
67 views

SPFx web part is not loading in IE 11

I have a SPFx web part with Knockout framework. Its developed for SharePoint on premises (V1.1.0). Deployed all the Assets in the SharePoint library. Application is working fine in Chrome. But in IE, ...
0
votes
0answers
63 views

Using SPFx PnP, KnockOutJS and getting errors from SharePoint Online rest api when updating a date field

The date ("01/01/2018") string works fine when I use PnP to add a list entry. But when I retrieve the date ("2018-01-01T06:00:00Z") string from SharePoint Online and format it back to ("01/01/2018") ...
1
vote
0answers
437 views

REST list pagination

I'm having a little bit trouble crating a list pagination. I know that I can use next__ but I'm new to js and rest so I can't find a way. $(document).ready(function () { GetItemFromList(); Printitem()...
2
votes
0answers
118 views

SharePoint Framework: How to detect when Knockout ViewModel has been created?

In a SharePoint Framework webpart based on knockout the knockout component and its view model are created asynchronously as they are registered like this: private _registerComponent(tagName: string)...
1
vote
1answer
275 views

Create and update item list at same time in Sharepoint 2013 REST API using Knockout JS

I'm trying to bulk create and update a SharePoint list using the following JS. When I use "X-HTTP-Method": "PATCH", I get an error- the type sp.listitementitycollection does not support http patch ...
1
vote
1answer
202 views

CSR + KnockoutJS, add templates to few fields

I am using examples from great article from here https://www.codeproject.com/Articles/888923/SharePoint-Client-Side-Rendering-List-Forms-p and use example to add new Lookup value directly from form. ...
1
vote
1answer
422 views

Getting items from list with Knockout

I'm trying to get items from a list usin REST and knockout and this is my code <html lang="en-US"> <head> <meta charset="UTF-8"> </head> <script src="http://ajax.aspnetcdn....
0
votes
0answers
142 views

Multi-conditional CAML Query isn't working with OrderBy tag in SP2013

I have the following CAML query, but when I add an tag, the list breaks. The list is named Requests which contains the following columns: DueDate is a Date/Time column Lifespan is a Calculated ...
0
votes
1answer
30 views

Button color - user defined on list item creation

I have created a SharePoint 2013 list and added items to it. These items are used in a carousel and displayed on the homepage. I also have a title, text and a button. On the frontend side I use ...
2
votes
0answers
684 views

Managed Metadata Global Navigation

I’m using managed metadata to create global navigation on a SharePoint Master Page. I understand that a managed metadata term set can only be applied to a single site collection. To bypass this I’m ...
0
votes
0answers
44 views

SharePoint 2013 Knockout SPS Data-Bind for Calculated Columns

I have been looking everywhere and can't find any info on data-bind for calculated column. I have 2 calculated columns I'm trying to bind -- could someone help me with the "data format" for either of ...
0
votes
0answers
147 views

SharePoint 2013 Filtering with CAML Query in a Knockout List

I have a List Called 'Projects' that uses binding via Knockout View and View Modal based on SP Services. I am new to Knockout, and I'm having difficulty locating a resource explaining how to filter or ...
0
votes
1answer
326 views

Using knockout in SharePoint for reading list items

I have used the below code for reading list items. But when I try to debug this code, the functions are not getting called.. 'use strict'; var hostweburl; var appweburl; function ...