Object model for development in SP 2013

any good article on Server side object model vs Client Side object model vs REST vs Apps model?
I mean in which situation to use which one?

Have a look at the following link if it gives you some idea
http://msdn.microsoft.com/en-us/library/office/jj164060%28v=office.15%29.aspx
http://msdn.microsoft.com/en-us/library/hh313619.aspx
http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
Geetanjali Arora | My blogs |

Similar Messages

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • An object model for Edge Animate

    Is there a published full object model for Edge Animate, showing all the functions and properties that are exposed?
    Would like to know what properties exist for each object, as well as what functions can be called.
    Thanks.

    Hi Preran,
    Thanks.
    Yes, the question is what do you expose to users?
    If I want to know what variable/properties I can access, is there a table or list someplace?
    If I want to know the text string being shown in a text object, what property is that.
    If I want to set the text value of a text object, what function do I call?
    If I want to know the font used in a text box, what property is that?
    Most of your documentation that I have seen so far is more HOW TO oriented, I would say.
    "If you want to do this, do that...if you want to do this, to something else".
    That is helpful.
    But not as helpful as "Here are all the properties you can access, and here are all the methods you can call".
    THAT is also helpful.
    So, what properties and methods are PUBLICLY exposed and available for us to use programmatically, would be very helpful to knowl.
    Edge Animate is a tremendous tool.
    Believe me, we are trying to count on it to deliver some ground-breaking research.
    We just don't want to play trial-and-error with what is there to be utilized, anymore than we have to.
    Thanks, again.
    Keep up the good work.
    Cheers,
    Derrick

  • How to Enable Ratings on SharePoint List using Client Object Model for Office 365 SharePoint Site.

    How to Enable Ratings on SharePoint List using Client Object Model code for Office 365 SharePoint Site.
    Thanks in Advance
    Rajendra K

    Hi Rajendra,
    here you are the code and the blog, let me know if this helps
    using (ClientContext ctx = new ClientContext(https://yourSiteUrl))
    Web w = ctx.Web;
    List l = w.Lists.GetByTitle("yourListName");
    ctx.Load(l, info => info.Id);
    ctx.ExecuteQuery();
    string ListID = l.Id.ToString();
    Microsoft.Office.Server.ReputationModel.Reputation.SetRating(ctx, ListID, 1, 5);
    ctx.ExecuteQuery();
    http://blogs.technet.com/b/speschka/archive/2013/07/08/how-to-use-csom-with-ratings-in-sharepoint-2013.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Creating custom BOL object model for adding Search Parameter

    Hi friends
    Can any one guide me the steps through which i can add the new field in the search criteria by using the creation of custom BOL object model in Interaction Center Web Client.
    That will be a grate help for me.
    Regards
    Pulkit
    Message was edited by:
            Pulkit Agrawal

    Hi!
    For maintaining CRMC_OBJECTS table you should use view CRMV_OBJECTS. (in transaction SM30).
    Regards,
    Alejandro.

  • Sharepoint authentication Client object model for direct links

    We have a Sharepoint 2010 site and another website [ASP.Net Web API 2] which uses Client object model to get data from Sharepoint, this is an intranet environment.
    The Client object model part of it is working fine, if any user logs in, it works with that user credentials. But when a user tries to access a direct SP link, ex: a link to a document from a document library, it pops up a credentials window.
    How to get rid of this pop up window, or how to set the authentication for the entire server when the user logs in to our web api.

    Hi,
    The prompt for credential can be seen as a behavior by designed for the sake of safe and there are no solutions to avoid it at this moment per my knowledge. 
    Here is a similar thread will provide more information:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/85b5d22a-88ed-4975-8de9-1d65df293aeb/avoiding-prompting-for-authentication-when-accessing-the-aspx-page-in-layouts-folder-from-my?forum=sharepointdevelopmentprevious
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • Help to find out some of the object model for InDesign preference

    Hi All,
    I'm writing script to update the specific client preferences for each and every preferences of InDesign CS5. I couldn't find some of the object models in Extendscript help. If someone knows, please help to find out this.
    These are the list. Also refer screenshot.
    1. Dictionary Preference - Language English: USA
                                          Hyphenation
                                          Spelling
                                          Double Quotes 
                                          Single Quotes 
    2. Autocorrect Preference - Language English: USA
    3. File Handling Preference - Default Relink Folder
    Many thanks in advance.
    Peru.

    I looked and was not able to find a way to do this.

  • Does Java have an object model for the actual .java files?

    OK, you know how you can use the Document Object Model (DOM) in JavaScript or PHP to access and modify specific parts of an HTML document? Is there anything similar for .java files? Can I load a .java file into some kind of Java Code Object Model (JCOM?) and then manipulate that code as if it were an object.
    Note: I am not asking how to instantiate and use a regular object as defined by the .java file. I am wondering about modifying the actual .java file itself as an object that represents the actual text of the code in the .java file.

    GrantSR wrote:
    Not the code, per se, but the classes they define... Yessum, most certainly: ASM, among others.
    Also Google [java parser|http://www.google.com.au/search?q=java+parser]... one of them might do what you're after.
    So, one would parse the Java code into XML using one of these many and
    varied parsers, then access that XML via the DOM? Well, I guess a two
    step process is good enough.
    Thanks for your help.
    No wuckers!
    But I don't know if I did much. If you do get something working please post back, and outline your approach.
    Cheers. Keith.

  • Best practice for developing with CRM 2013 (On Premises)

    Hello all.  I'm just starting to work with CRM, and I have some questions that hopefully will be simple for the seasoned developers.  It's mostly just some best practice or general how-to questions for the group.
    - When creating a new Visual Studio CRM Project I can connect to my CRM Instance and create new WebResources which deploy to the CRM instance just fine, but how can I pull all the existing items that are in the CRM Solution into the Visual Studio CRM project?
     Or do I need to export the solution to a ZIP, expand it with SolutionPackager.exe, then copy these into my Visual Studio project to get it into sync?
    - When multiple developers are working on changes is it best to keep everything in a Visual Studio project as I mentioned above, or is it better for everyone to have their own instance of CRM to code with so they can Export/Import solutions as needed then
    these solutions be manually merged before moving into a common Test/QA environment?
    - When modifying the submenu on a CRM form is it suggested to use Ribbon Workbench or is it better/easier to just export the solution, expand it with SolutionPackager.exe,  modify ribbondiff and anything else required for the change, package it
    back up, then reimport to CRM?  I've heard from some that Ribbon Workbench has some limitations, but being green I wasn't sure what those limitations might be or if it'd be best to just manually make these changes.  Or is thre any way to have a copy
    of ribbondiff in Visual Studio and deploy this without having to repackage the Solution and Import in the ZIP?
    I think that's it for now :)  Thanks for any advise or suggestions.  I really want to start learning the in's and out's of CRM and how all the pieces fit together.  Also can someone direct me to some documentation or books that might give
    more insight on developing for CRM 2013 or 2015 (moving to this soon)?
    Thanks for your time.

    Hi Sam
    Also interested in best practice around this area - especially recommended development routes, unit testing, continuous integration etc - it would be great if you posted here if you find any good articles etc. At the moment we tend to just push changes
    onto a live system as and when appropriate and I'd prefer to move away from that...
    Thanks
    Stuart

  • Packages: local objects only for developer himself?

    Hi there,
    I developed a program that uses a proxy to communicate with SAP XI.
    For the input data I created a dynpro.
    If I call this dynpro with my credentials everything works fine. Another user
    received a dump while trying to send data.
    I created all these objects (proxy, abap program, dynpro) in the local package
    $tmp. Is this the reason the dump appears? I thought $tmp is like a normal package
    but not transportable to other systems.
    The dump says that the reference to the proxy classes is null.
    Do I have to create a usual package that other user can access my objects?
    thx
    chris

    Thanks. It works. I always started the program out of se80. For other users
    I defined a transaction code. The tcode directly started a dynpro without
    inital the the variables.
    Debbuging displays this error.
    Thanks a lot.
    greetz
    a newbie

  • Where is the document describing the object model for creating the UI elements

    Whre is the document that explains what UI objects are available ie:
    Window
    Panel
    statictext
    button
    I don't see it in my photoshop scripting guide. Thank you.

    It should be in the Javascript Toolkit Guide which can be found in your Adobe install folder:
    ..Adobe\Adobe Utilities\ExtendScript Toolkit 2\SDK\
    good luck.

  • SP 2013 Client Object Model: What credentials to use for Office 365 and sites behind ADFS 3.0?

    I'm using the SharePoint 2013 Client Object Model to access a site that is either in Office 365 or behind an ADFS 3.0 login screen, is it sufficient to use the new SharePointOnlineCredentials credentials
    or do I need other types of credentials for the sites behind ADFS 3.0 ? Is so, what type of credentials would I use for the sites behind ADFS 3.0?
    using (ClientContext ctx = new ClientContext(siteUrl))
    ctx.Credentials = new SharePointOnlineCredentials("some user", "a secure string password");
    while (ctx.HasPendingRequest)
    ctx.ExecuteQuery();
    // etc.

    Hi,
    According to your post, my understanding is that you want to know the ways to get credential either in Office 365 or sites behind ADFS 3.0.
    For Office 365, you can use SharePointOnlineCredentials Object to get credential. For SharePoint sites behind ADFS 3.0, you can use NetworkCredential Object:
    ctx.Credentials = new NetworkCredential(UserName, Password, Domain); 
    The link below will provide more information about using the ADFS FedAuth Token programmatically through the SharePoint Client Object Model:
    http://samirvaidya.blogspot.com/2013/05/using-adfs-fedauth-token.html
    Best regards
    Patrick Liang
    TechNet Community Support

  • Excel 2013 Object Model - Conditional Formatting

    1) I'd like to understand the new Excel object model more thoroughly. Can anyone suggest a book?
    2) Are the formulas and/or format settings for conditional formatted cells stored in the object model or in the workbook?  I'm guessing the workbook.
    Thanks.
    Ross

    1) The object model for Excel 2013 is the same as that for earlier versions, with a few additions and omissions.
    See http://spreadsheetpage.com/index.php/books for lots of books about Excel, including programming.
    2) Conditional formatting is stored in the workbook, but you can manipulate it with VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How can we provide suggestions/feedback to MS for improvements to the object model interfaces for Transport Agents?

    Having worked on TA's for a while now we've found there are several things missing in the object model for our requirements. Consequently we have some horrible code that need to do some things directly either with MIME or TNEF - which is a crying
    shame as MS must have all the code to do the things we need anyway, it's just that the object model is deficient.
    It'd be useful if there were an Exchange category on MS Connect where we could submit our suggestions, but as far as I can see, there isn't one.
    So, where do the Exchange TA developers get to hear customer feedback?

    Hello David,
    Sorry for not getting back to you sooner. You can provide feedback on Transport agents by using this site:
    http://officespdev.uservoice.com/.
    With regards,
    Michael | Microsoft Exchange Developer Content
    The
    Exchange Development Forum Guide has useful information for using the Exchange Development Forum.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • JSP Programming model for MI application development

    Hi All,
    While we are using JSP programming model for developing MI applications, there are some Pros and Cons for it.
    one of the Cons is :-
    1. JSP requires more system resources ( local web server)
    Any idea what exactly does it means ?
    2. When we use AWT as the programming model, do we need any additional resources to run this application ?
    Thanks and Regards
    Neha Mahanty

    Hi Neha,
    there are two different runtime options in MI - JSP and AWT - that you already mentioned corredtly.
    Depending what dev model you choose, you have to install the related runtime. That is a logical step. Well, if you are aware, JSP pages are displayed in a browser and are hosted on a server. In our case MI client JSP runtime is that server and especially if you run the application on a small device like a PDA, you will see significant performance issues. The screen response time is something around 2-5seconds. this is due to the messages and the processing time of the different components.
    If you use AWT on the other hand, you are running it in the MI AWT client runtime and so all runs as a single application. This has a better screen response time.
    So from this perspective the decision should clearly be the AWT component. BUT!!!
    If you ever have developed an AWT app, you have noticed, that it is not that easy to develop tables for example in AWT. It is possible, but it is getting complex and slow soon. So depending on the complexity of your screens it can be soon, that JSP itself has a faster rendering time then an AWT application. And because JSP screen development is taht simple, most apps are JSP apps at the moment.
    With MI7.1 this will change. You have the possibility to use eSWT and WebDynpro for UI development as well, and so the development of MI applicartions that use les system performance for the runtime itself will be more easy.
    Hope this helps!
    Regards,
    Oliver

Maybe you are looking for

  • What are the chances...

    That there'd be a common cell network, and service providers would have to opt into the common good, compete on service, and handset hardware upgrades and switching would be accomplished by sim card or similar replacement? I can recall being in South

  • How do I save photo attachments to iphoto

    I cannot get a photo sent to me to iphoto.  I've tried dragging, but nothing drags.  I've tried going to file\save attachments which seems to work but then the photo is no where to be found (and yes, I knew where I saved it.  I even tried saving to d

  • HT2946 Photoshop edits not showing up in Aperture full size image view

    I see that my issue has actually been somewhat addressed in #9 of this article, however no matter how long I wait, the edits I make in PS simply do not show up in Aperture.  The edits are visible in the thumbnail view, but disappear in full size view

  • Saving Infoset to tranport Request

    Hi all, I have added a table in the infoset and generated the same but there is no transport request pop up appeared before the generation or on saving it. My problem is that i want to save the changes made in the infoset into transport request and i

  • X-fi xtreme gamer Digital I/O Adapter question, please help!

    < I have this card: http://www.newegg.com/Product/Produc...=N82E682902006 I've been trying to find some kind of adapter for it so I can get my Optical connection to work with my card since my speakers and headphones can use this. Also its a pain unpl