Using SPServices and Knockout JS in SharePoint 2013 Apps

Hi All,
This is possibly the stupid question but please bear with me...
I would like to develop App for SharePoint 2013 (which will be published to Microsoft SharePoint Store) which can be free and paid . Can I use javascript / client libraries like SPServices from CodePlex , JQuery, Knockout JS and Angularjs in my Apps
Thanks in advance...

Yes, you can use any client side technology as long it can call SharePoint API and parse result.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Unable to open any Sharepoint 2013 Apps

    Hi all,
    I am having an issue whenever I try and open third-party SharePoint 2013 Apps on our on-premises server. I have configured the app domain as per
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx and installed some random third-party apps (eg. "Yammer App for SharePoint", "Corporate News App").
    I can go to the Microsoft Store and purchase apps and make them available to sites, however whenever I go to any of these sites "Site Contents" page and click to open any of the Apps it ends up redirecting the user back to the top-level sites homepage.
    Initially it was freezing on a blank page, but looking through the logs on the server there was an authentication error with a service account password. Having resolved that issue it now just returns to the homepage of the top-level site.
    Looking through the logs it appears that it gets redirected to the appropriate app domain URL, it then gets an Access Denied errors and attempts to redirect to an "Authenticate.aspx" URL in the apps domain. It then seems to fail authenticating
    with "Attempted to perform an unauthorized operation" and go back to the top-level site.
    A copy of the log file can be found at:
    http://insertdisk.com/log.txt
    The main sites web application is configured to use claims-based authentication via ADFS, anybody have any ideas?

    Hi  ,
    According to your description, my understanding is that you encountered an authentication error 
    when you try to open third-part SharePoint 2013 Apps on your on-premises server with ADFS authentication.
    Configuring the app domain is
     necessary for setting up SharePoint Apps Development environment. If you just install and open third-part SharePoint 2013 Apps, it is not necessary.
    Also for your issue, you can have a look
     to the blog:
    http://blogs.msdn.com/b/spses/archive/2014/01/17/how-to-use-adfs-with-sharepoint-hosted-apps-in-sharepoint-2013.aspx
    http://www.wictorwilen.se/sharepoint-2013-with-saml-claims-and-sharepoint-hosted-apps
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Network Load Balancing between SharePoint 2013 App server and WFE

    Hi,
    Can we do NLB between SharePoint 2013 App server and WFE Server ?
    Below is our Architecture,
    1. WFE Server (1) 
    2. APP Server (1)
    3. Database Server
    4. Domain Controller
    We have configured NLB but, when we stop IIS on APP server, SharePoint 2013 web app link is not working. 
    is it possible ?
    Please help us

    You can do NLB between WFE and APP server however make sure that web application service is started from central admin which host sharepoint sites.
    Why do you stop IIS on APP server, definitely it will not be able to host web app sites. rather you can just disable APP node on NLB to test it.

  • Can not specify the SMTP server port, username and password for my SharePoint 2013 web application

    We have our SMTP server under port number 141 and we should add username and password. but inside SharePoint 2013, I can only define the SMTP server name , from email, reply-to . But there are not fields to define the port number , the username and password.
    So can anyone advice from where I can define the port number and other field settings for the SMTP server ?
    Thanks

    i am no sure about user name and password. i never saw that option.
    check this guide:
    http://blogs.technet.com/b/tirumals/archive/2012/03/17/step-by-step-configuration-of-outgoing-emails-from-sharepoint-to-microsoft-online.aspx
    http://blog.fpweb.net/configuring-an-smtp-server-for-sharepoint/#.UuANoxAo6M8
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
    thanks for the reply, but in our case the SMTP is  a separate server , and to connect to it i need to define the ; server IP /Name , port number, username & password. but in SharePoint there is no option to define the port number , and the links you
    provide are regarding configuring SMTP server, while we already have an SMTP server but i need to connect SP with it . can you advice please?

  • Integrate Workday and ServiceNow applications with SharePoint 2013 online

    Hello, we have to integrate Workday and ServiceNow applications with SharePoint 2013 online and need to display data from these applications
    to SharePoint 2013 intranet site. 
    Any information about the integration of Workday and ServiceNow applications with SharePoint 2013 would be greatly appreciated. Thanks!
    Regards,
    Shailendra 

    Hi Shailendra,
    I searched a lot, there seems very few information from internet and internal about this topic, I'm not familiar with Workday and ServiceNow applicaitons, I would recommend you may post in the following community sites(which should be offcial
    sites) for a better assistance regarding the integration questions between Workday and ServiceNow and SharePoint Online(O365).
    https://community.servicenow.com/thread/174050
    https://community.workday.com/
    http://community.office365.com/en-us/f/154.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SharePoint 2013 App Custom Action in Wiki Page

    Hi
    I am trying to create a SharePoint 2013 App that also has a  Custom Action that has to be visible in Pages tab. Code below
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab"
    Location="CommandUI.Ribbon" >
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Templates._children">
    <GroupTemplate Id="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
    <Layout Title="NewGroupInExistingTabOneLarge" LayoutTitle="NewGroupInExistingTabOneLarge">
    <Section Alignment="Top" Type="OneRow">
    <Row>
    <ControlRef DisplayMode="Large" TemplateAlias="Button1" />
    </Row>
    </Section>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.WikiPageTab.Scaling._children">
    <MaxSize
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.MaxSize"
    Sequence="15"
    GroupId="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
    Size="NewGroupInExistingTabOneLarge" />
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.WikiPageTab.Groups._children">
    <Group
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
    Sequence="15"
    Description="Custome Actions"
    Title="Oltiva DW"
    Template="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
    <Controls Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.Controls">
    <Button
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.ContentSources"
    Command="COB.NewGroupInExistingTab.Command.Notify"
    Sequence="10"
    Image16by16="/_layouts/images/NoteBoard_16x16.png"
    Image32by32="/_layouts/images/NoteBoard_32x32.png"
    Description="Uses the notification area to display a message."
    LabelText="Content Sources"
    TemplateAlias="Button1"/>
    </Controls>
    </Group>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="COB.NewGroupInExistingTab.Command.Notify"
    CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}"
    />
    </CommandUIHandlers>
    </CustomAction>
    </Elements>
    The above code works fine, but I want the Custom Action to Open in a new Pop up box, like 
    javascript:SP.UI.ModalDialog.showModalDialog({ url: 'www.google.com', title: 'Default' });
    The movement I change the CommandAction to JavaScript, the app breaks, if I remove the ~remoteAppUrl/Pages/.... the app does not work, it does not apper in the site content.  and in appcatalog it shows wrong version number and says Valid App package
    as no.  what am I doing wrong.
    Regards, Vikram

    Hi Carl,
    As a security policy, a new customer cannot upload images and links. You can try to add links as text and upload your images to Onedrive and share it temporarily.
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers
    if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Eric Tao
    TechNet Community Support

  • How to create Ticket Booking Functionality in SharePoint 2013 App?

    We have created a Ticket Booking site in Asp.Net.
    In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
    Took reference from this site:
    http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
    Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
    I don't know how to start
    Anybody having Idea.
    Thanks in Advance.

    Hi,
    According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
    To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
    Create Host App:
    How to: Create a basic SharePoint-hosted app
    Create App Part:
    How to: Create app parts to install with your app for SharePoint
    Then for the data storage, here is a documentation will provide more information:
    App data storage:
    Data storage options in apps for SharePoint
    For the responsive UI, HTML plus JavaScript would be OK.
    Feel free to reply if there are still any questions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to add List view to SharePoint 2013 app

    Hi
    I'm developing intranet metro style app as SharePoint 2013 auto hosted . i need to get promoted list to display in my app page as it is display in SharePoint host site. i have seen some blog post but no clue of detail way of doing it (http://www.greggalipeau.com/2013/12/25/adding-list-views-to-sharepoint-2013-apps)
    Can any one let me know how to do this in a way steps to follow or any information on this highly appreciated.
    Kind regards
    Radika 

    http://newscarrouselapp.codeplex.com/ Download sample
    http://nettitude.wordpress.com/2013/01/27/creating-a-carousel-in-a-sharepoint-app-using-client-side-rendering/
    http://webcache.googleusercontent.com/search?q=cache:t4nEmPtXxtQJ:sp2013.blogspot.com/2012/08/use-list-view-in-sharepoint-2013-apps.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-a
    <WebPartPages:WebPartZone runat="server"
    FrameType="TitleBarOnly" ID="full" Title="loc:full" >
    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart2"
    runat="server" ListUrl="Lists/SlideShow" IsIncluded="True"
    NoDefaultStyle="TRUE" Title="Slideshow Images"
    PageType="PAGE_NORMALVIEW" Default="False"
    ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    </WebPartPages:WebPartZone>

  • Setting up SharePoint 2013 Apps in a load balanced environment

    All,
    Looking for some articles on how to configure SharePoint 2013 Apps in a load balanced farm (2 WFEs, 2 APP servers, 2 SQL DBs).
    Thank you!

    if the load balancing environment is already well configured, thes rest is very easy, there is no difference between a configuration of load balancing environment and a simple one, for you that is transparent, except the manual deployment and manual copying
    of files in the directory 15

  • Unable to update rating (rating column) on host document using JavaScript Object Model API inside sharepoint hosted apps

    Hi Everyone,
    We are developing SharePoint hosted apps for Office 365, for that we are going
    to implement document rating functionality inside Sharepoint app. The host web contain document library (“Documents”) and from apps we need to rate each document. The rating functionality working fine with CQWP in team site  using
    JavaScript Object Model API.
    But the same code is not working inside apps and giving error:-
    If we are using app context than error will be:-
    "List does not exist.
    The page you selected contains a list that does not exist.  It may have been deleted by another user."
    And for Host context than error will be:-
    "Unexpected response data from server."
    Please help on this
    Please see below code..
    'use strict';
    var web, list, listItems, hostUrl, videoId, output = "";
    var videoLibrary = "Documents";
    var context, currentContext;
    var lists, listID;
    var list, parentContext;
    var scriptbase;
    (function () {
        // This code runs when the DOM is ready and creates a context object which is 
        // needed to use the SharePoint object model
        $(document).ready(function () {
            hostUrl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
            context = SP.ClientContext.get_current();      
            SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady);
        function sharePointReady() {
            scriptbase = hostUrl + "/_layouts/15/";
            // Load the js files and continue to the successHandler
            $.getScript(scriptbase + "SP.Runtime.js", function () {
                $.getScript(scriptbase + "SP.js", function () {
                    $.getScript(scriptbase + "SP.Core.js", function () {
                        $.getScript(scriptbase + "reputation.js", function () {
                            $.getScript(scriptbase + "sp.requestexecutor.js", execCrossDomainRequest);
        //Query list from hostweb
        function execCrossDomainRequest() {       
            //Load the list from hostweb
            parentContext = new SP.AppContextSite(context, hostUrl);
            web = parentContext.get_web();
            list = web.get_lists().getByTitle(videoLibrary);
            context.load(list, 'Title', 'Id');
            var camlQuery = new SP.CamlQuery();
            camlQuery.set_viewXml('<View><Query><OrderBy><FieldRef Name="Modified" Ascending="FALSE"/></OrderBy></Query><RowLimit>1</RowLimit></View>');
            listItems = list.getItems(camlQuery);        
            context.load(listItems);
            context.executeQueryAsync(onQuerySucceeded, onQueryFailed);
        //Process the image library
        function onQuerySucceeded() {       
            var lstID = list.get_id();
            var ctx = new SP.ClientContext(hostUrl);       
            var ratingValue = 4;
            EnsureScriptFunc('reputation.js', 'Microsoft.Office.Server.ReputationModel.Reputation', function() {      
            Microsoft.Office.Server.ReputationModel.Reputation.setRating(ctx, lstID, 1, ratingValue);       
            ctx.executeQueryAsync(RatingSuccess, RatingFailure);
        function onQueryFailed(sender, args) {
            alert('Failed' + args.get_message());
        function failed(sender, args) {
            alert("failed because:" + args.get_message());
        function RatingSuccess() {
            alert('rating set');
            //displaystar();
        function RatingFailure(sender, args) {
            alert('Rating failed : : ' + args.get_message());
        //Gets the query string paramter
        function getQueryStringParameter(paramToRetrieve) {
            var params;
            params = document.URL.split("?")[1].split("&");
            for (var i = 0; i < params.length; i = i + 1) {
                var singleParam = params[i].split("=");
                if (singleParam[0] == paramToRetrieve) return singleParam[1];
    Thanks & Regards
    Sanjay 
    Thank you in advance! :-)
          

    Hi,
    According to your post, my understanding is that you want to update list column in SharePoint hosted apps using JavaScript Client Object Model.
    Based on the error message, it seems not retrieve the list object in context. I suggest you debug the code step by step using Internet Explorer Developer Tools to
    find the problem.
    Here are some demos about using JavaScript Client Object Model in SharePoint hosted app:
    http://blogs.msdn.com/b/officeapps/archive/2012/09/04/using-the-javascript-object-model-jsom-in-apps-for-sharepoint.aspx
    http://sharepoint.stackexchange.com/questions/55334/how-to-access-list-in-sharepoint-hosted-app
    http://www.dotnetcurry.com/showarticle.aspx?ID=1028
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • Server Error: Unexpected Error when running Napa SharePoint 2013 App

    I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
    It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone help

    I have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.

  • HT1541 im using ipad2 and recently when i go to App store - top chart it gives a massage "Cannot Connect ti App Store" can anyone help please

    im using ipad2 and recently when i go to App store - top chart it gives a massage "Cannot Connect ti App Store" can anyone help please

    FYI - I just did a full wipe out and set up as new device, and the problem got solved.... But obviously it was a pain in the butt to download all the purchased apps back... This seems to be the only way to go about it... :(

  • Hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me

    hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me

    even when you are dowloading free app Apple needs to check that you have valid billing details but you will not be billed for downloading of free apps.  Go to settings/itunes & app store tap on ID there log in and check acocunt details there

  • Possible to use both Tabular and Multidimentinal with same SharePoint 2013 farm?

    I would like to build SharePoint 2013 based reporting portal with Power View as visualization tool.
    Is it possible to install both Tabular and Multidimentional to same physical server?
    Is it possible that some Power View reports use tabular and others multidimentional?
    Could above requirement work in production environment? Anybody tried?
    Kenny_I

    Hi Kenny_I,
    According to your description, you are going to create a PowerView report using SQL Server Analysis Services Multidimensional database or SSAS tabular model as data source in SharePoint 2013, now what you want to know is that is it possible to install both
    Tabular and Multidimensional to same physical server? And is it possible that some Power View reports use tabular and others Multidimensional?
    Of course we can install both Tabular and Multidimensional to same physical server that had SharePoint 2013 installed. In my tested environment, I have installed all of them on the same server. And we can use tabular model and others Multidimensional database
    on individual PowerView report. However, it seems that we cannot use both tabular model and others Multidimensional database on the same Powerview report.
    Even though we can install both Tabular and Multidimensional to same physical server, however in the production environment, the recommendation is that install them on different server, it will beneficial to troubleshooting the issue when some issue occur
    on the environment.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Facetime, iMessage, and Mail not working after iOS 6.1.3 update

    I've had my iPod touch 4th generation since Oct 2010 and never updated the iOS until very recently. Before the update, Facetime worked consistently and easily. After I finally got around to updating my iOS a week ago, my iPod has come into severe iss

  • Error message on PE7

    I have recently upgraded from PE2 to PE7. I have also upgraded my computer from 1 to 2 MB Ram which has made a difference. The reason why I stopped using PE2 was because of frequent crashes and I reinstalled, defragmented etc and couldn't get it to w

  • Update kernel to 3.17 - Black screen under booting

    Hi, I update kernel from 3.16 to 3.17, and when I start booting, see log an after a certain time I get black screen. I have notebook Asus X200M with intel graphic card. Booting log: [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializi

  • Reshape with daqmx

    hi We use a Daqmx PCI 6251 to acquire and send signal to generate pulse (for measurement strain), But i need to reshape frequency of pulses because is too high.How can i do it? Thanks Mariangela

  • Error in PO release workflow

    Hi all, I'm having problem with linkages errors when I active PO release workflow WS20000075. The wf work without problem in develop system but in the system where I transport, a internal message is sent to me with text: Error in event receiver Error