How to access list of a site other than host web

Hi All
I have to create SP Provider hosted app, which needs to reads a list from a particular site i.e if my app is install in site 1 having URL http://server/sites/site1 and the list which needs to access is in site 2 having URL
http://server/sites/site2.
I am not getting how can I implement this functionality using CSOM.

Hi,
With .NET Managed Client Object Model, as the code will be executed in the web project of this Provider Hosted App, we can use the SharePointOnlineCredentials object as below to
access another site collection in online environment:
http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
For on premises environment, you can use NetworkCredential object:
https://msdn.microsoft.com/en-us/library/system.net.networkcredential.aspx?f=255&MSPPError=-2147217396
Thanks
Patrick Liang
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]

Similar Messages

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

  • Online digital photo printing for site other than apple - how get photos easily onto site for uploading

    Want to use an online digital photo printing site (eg Kodak/Photobox) in conjunction with selection of photos in iphoto.  How do I get the photos from iphoto onto the "other"site?  Drage and Drop does not work.  Obviously not made easy to use a site other than Apple, but the price is better
    ijgsaw1984

    Have you tried these?
    http://www.shutterfly.com/prints/prints?cid=SEGOO.GENRL&mpch=ads
    http://fredmeyer.pnimedia.com/

  • How to copy images from iPhone folders other than camera roll?

    How to copy images from iphone folders other than camera roll?
    Images in these folders are synced to iPhone from different laptop and I need to download them in my laptop. I am able to download and access only those pics which are present in Camera Roll folder.Remaining pics are in different folder and also appearing in Photo Library from all folders.
    Same problem is with iPod touch as well.

    - Via a computer program like PhoneView or Touch Copy
    - By using an app like Photo Transfer

  • How can I buy films in languages other than German in Germany? Quite disappointed, i would line to watch films in Original language and not dubbed in strange ways...

    How can I buy films in languages other than German in Germany? Quite disappointed, i would like
    to watch films in Original language and not dubbed in strange ways...

    You are at the mercy of the content owners/copyright holders. They decide what the Apple can sell in each iTS.
    MJ

  • How to move downloaded files from download folder to other relevant folder or how to download files in relevant folders other than download folder

    how to move downloaded files from download folder to other relevant folder or how to download files in relevant folders other than download folder

    Just drag the file from the Download folder to the folder of your choice in Finder. If you are using Safari you can designate a new default download destination in Safari>Preferences>General tab, 'Save Downloads to...'. Other browsers should have a similar option in their preferences.

  • Can we purchase and download music from sites other than Apple?

    Wife has a new iMac and wants to purchase music from a site other than my iTunes store account. She has a hefty remaining balance left over from her PC days. I logged onto that site this weekend and tried to download some music (we paid for it) and it did not download. We are very new to Mac and need some real guidance. Is it a set up thing? The music did download onto my PC laptop into zip files....any help???? Thanks

    <Edited by Moderator> is a pirate Russian site and is providing tracks illegally according to the music industry. The record companies (from many countries, not just the US) have been trying to get that site and it's cousins and predecessors (this is just a retread of AllOfMP3.com) shut down for quite some time. So sorry, but we indeed cannot help you with this here.

  • MacBook Pro freezes when using any app other than the web browser.

    My MacBook freezes when using any app other than the web browser. I can open up Google Chrome and use it all day with no problem, but if I minimize it and try to browse through photos in my picture folder or do anything that involves the Finder, the computer just freezes up and I get the rainbow wheel. If I put in a CD to play it, the computer freezes with the rainbow wheel. Any suggestions? I would like to use the mac for more things than the internet.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Cannot access created sharepoint site other than server machine

    I have installed SP2013 in windowsserver2008, i have chosen standalone server while configuring the server. I have created a toplevel
    site using Central Admin with Admin permissions. I opened the newly created site in the browser successfully. But i cannot connect this site from another machine using browser, i can able to open the site in the same installed server not in another machine
    using a browser. Can you please suggest me how can i share the created site to users to get work around.

    This sounds like a networking/dns issue and nothing related to SharePoint. Once your networking is setup correctly, you should be able to access the farm with the url http://{Server Name}/. But there has to be a dns entry for [Server Name] on your
    domain controller that points to the ip address of your SharePoint server and the SharePoint Server has to be reachable over the network on port 80.
    Doug Hemminger http://www.sharepointdoug.com
    What is the way to find out the network/ dns issue?
    And how to solve if any of this has >

  • How to get iTunes to show views other than list--no grid or cover flows

    I posted earlier but no one offered any suggestions. I'll try very directly this time. With iTunes 8.1 installed, I can obtain no other view than LIST. I can't get GRID or COVER FLOW. Any suggestions from Mac gurus far smarter about these things than me?

    Apparently, the only problem is in the view options. I don't routinely purchase music, I merely copy my own or friends' CDs into iTune. So, I can't verify there is any problem area there. But, the ability to view in anything other than list is driving me crazy. I grew accustomed to that cover flow view before this latest update, so I miss its availability. My concern is that this must be the indication of a deeper problem with iTunes or my video drivers or other related problems I've had over the last two months with the iPhoto, documented elsewhere in these discussion forums.

  • How to open List when Page loads in SharePoint Hosted App?

    I  want to create an app same like InstantPracticeManager by InstantQuick.
    Now I want to know that in a SharePoint Hosted App How can I show the Whole List in a page. 
    Here I have added one image:
    Here there is one list and there are 4 views of that list.
    Now the App will be like when I load the page It will show like the image above. Now how can we show the list like this in sharepoint hosted app?
    I want the same scenario which is shown in the following blogs:
    http://sp2013.blogspot.in/2012/08/use-list-view-in-sharepoint-2013-apps.html
    and
    http://www.sharepointnutsandbolts.com/2013/08/working-with-web-parts-within.html
    where they add a list to an app
    Can any one suggest me the idea? I am bit confused.
    thanks in advance.

    Hi,
    According to your post, my understanding is that you want to show the different list view in a page in SharePoint Hosted App.
    We can use jQuery and cross-domain library to achieve it.
    The following articles for your reference:
    Adding a Tabbed View to A Web Part Page Using jQueryUI
    http://sympmarc.com/2011/11/09/adding-a-tabbed-view-to-a-web-part-page-using-jqueryui/
    How to: Access SharePoint 2013 data from apps using the cross-domain library
    http://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx
    SharePoint 2013: Get list items by using the cross-domain library (JSOM)
    http://code.msdn.microsoft.com/office/SharePoint-2013-Get-items-d48150ae/view/SourceCode#content
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • How can I install to a drive other than C?

    I installed the CS6 Master Collection trial version. During the installation, I specified a destination folder on my D: drive (C: is a small SSD drive meant to hold only Windows).
    For the 32-bit versions of the programs, the shortcuts created in the Start Menu point to the D: location I specified during installation, but clicking on them gets me a "file not found" error, because the actual programs were placed on the C: drive. They work if I copy the installed Adobe folder and its full contents over to the appropriate D: location.
    The 64-bit versions are a different mess: Unlike with the 32-bit versions, the installer placed the 64-bit versions of the programs in the specified D: drive folder, but when I attempt to start the programs, I get the "Configuration Error: Please uninstall and reinstall the program; Error: 1" message. Presumably this is because some of the configuration files or settings the programs are looking for are actually pointing to locations on the C: drive, where the installer put them despite my directions. But I have no idea which files or settings they are, or how to find them.
    How can I fix these configuration errors and get the 64-bit versions working?
    If anyone from Adobe sees this, can you please fix the installer so that it installs the ENTIRE package where I specified, and that all the various pieces installed know where the rest of the pieces are in a non-C drive installation?
    My system:
    Windows 7 SP1
    Intel Core i7, 8GB RAM
    C drive: 60GB SSD (Windows system files)
    D drive: 1TB HDD (All other programs and files, including my Windows User folders)

    Yes, I have redirected my User folder to the D: drive.
    I know that some shared components must reside on the C: drive; that's fine. I just don't have room for the entire installation on there.
    The real issue here is that, when a drive other than C: is selected as the destination, the CS6 package installs into a broken state every time, out of the gate, on my system. Some components get installed to D: and some to C:, but the various components of the programs seem confused about what exists where, as shown below:
    I select a folder on D: as the destination folder for the install, and here is what I get:
    64-bit versions of the package -- Program files are installed to the D: drive as specified, but attempting to start them results in a configuration error message stating that the program must be uninstalled and reinstalled, and lists "Error code: 1".
    32-bit versions of the package -- Program files are installed to the C: drive against what I specified. The shortcuts installed in the Start menu for the 32-bit versions point to the locations where these program files SHOULD be, on the D: drive. If the Adobe folder containing the program files is copied over to the correct location on D:, these programs function normally with no errors.
    I have the 32-bit versions working by copying the program files from C: to D:. I just want to get the 64-bit versions working as well.
    Any help you could give would be greatly appreciated; I'm really looking forward to testing the CS6 suite on my system!

  • How To Display Bi-Weekly Quota Accruals Other Than Using PT50?

    Is there a t-code or report within SAP that will allow me to see how much Absence Quota is generated each pay period for an employee?  I know I can see this information when I access PT50. However, I would like to know if I can display how much vacation and sick / illness time per pay period an employee(s) generates.
    When I run time eval and an employee's quota buckets are updated, where can I view the information other than going to PT50?
    Thanks,

    If it is HR user try PT_BAL00 but rememberu2026the period on the report would be months because you would have mostly used monthly period parameter for time calendar. Say for example if you run the report for the month you wonu2019t be able to identify which sick/vac time belongs to which pay period. So you have to run the report with pay period dates to get right out put - one period at a time.
    If it is payroll user or employee, then try to use below recommendation:
    >Create two wagetypes Vac time earned and Sick time earned
    >In time eval whenever the vac and sick time is calculated, during update of Quota, please generate these 2 wagetypes based   the quota type. you can use ADDZL.
    >In payroll read these wagetypes from ZL and store it. So your reporting would be from RT not time cluster.
    >This will help you to use payroll reports to pull out data based on pay periods. I strongly recommend this because user would be comfortable using wagetype reports and it would be easy for reporting. Even you can display these wagetypes in paystub
    Edited by: Amosha on Nov 16, 2010 11:24 AM

  • How to maintain itunes on a drive other than the system drive

    I would like to have itunes on a drive other than the Windows 7 operating system drive, and have it stay there.
    Never mind...I found a post which applies.

    Hi Maciejhttp://forums.adobe.com/people/Maciej%20Przepi%C3%B3ra
    Thanks for your inputs.
    I have memory leaks in my code. I have tried iDialog->Release() code which reduces some of the memory leaks
    Though I want to use more clean method of InterfacePtr.
    "To prevent reference counts  from incrementing, as in Type 1a and 1b, use this constructor, which does not  call IPMUnknown::AddRef:"
    Which Constructor you are pointing out, I didn't get it.
    I tried InterfacePtr<IDialog> iDialog((IDialog *)iWidgetParent->QueryParentFor(IID_IDIALOG));
    It started giving me assert again.
    Please give an example how to do it or which InterfacePtr constructor doesn't call AddRef().
    Many thanks for helping me with this.
    D

  • Can iWeb be hosted by another site other than .Mac?

    I have already purchased a domain name and a hosting agreement with GoDaddy, however I cannot utilize their web page templates for some reason. Another mac user suggested I purchase iWeb and then have GoDaddy host. Can that be easily accomplished?

    Yes, it can be easily accomplished. Here's iWeb's Help info on this topic...
    Publishing to a server or hosting service other than .Mac:
    Instead of publishing your site to .Mac, you can publish your site to a local folder and then upload it to the server or hosting provider of your choice. You may want to use this method if you own a domain name and want to place your site there.
    To publish your site to a local destination:
    Choose File > Publish to a Folder.
    Choose a location to store your site, and then click Choose.
    After you publish your site to a folder, you can use an FTP (file transfer protocol) client to upload the site folder and index file to the location of your choice. iWeb does not provide an FTP client, but they are easy to obtain. Some hosting services provide a web-based FTP upload service, or you can download an FTP client from the web. For more information, contact your server administrator.
    If you don't publish your site to .Mac, these features are unavailable:
    Password protection
    Blog comments
    Blog search
    Hit counter
    Enhanced slideshows
    Also, for Subscribe buttons to work, you must specify your site's URL in the field provided after you publish to a folder.

Maybe you are looking for

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3. Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings. A-->B B-->C In the 2nd Mapping step  I'm doing message Split meaning for each

  • Scratches On New iMac.

    I have a new 24" iMac which has some scratches on the white plastic frame around the iSight camera lens. These were inflicted by me quite accidentally. They're not too bad, but is there a way that I can remove these scratches? Is the surround on the

  • How do I format text in textinput

    I have a textinput object that I want to display a number like time. So 521 would look like 5:21. I would also like to have this as the format for the input as well. In other apps this would be a numeric mask, but I don't know how to do it in Flash.

  • Can we do that ???

    Hi all, Can u convert java Application to .exe file?? yes u can but do u must have a JVM in ur computer to run this file ????? anybody can help me plz

  • Rollup object is small square in the page center but react to the whole page colour

    Can you explain this Muse site of the day: rollup object is in the page center but react to the whole page colour? http://www.ekswhyzed.com/portal.html Thanks! Dainis