WCF Service and Sharepoint Form library : How i can read a access a form libray and query a item from file name and read form xml in WCF service ?

WCF Service and Sharepoint Form library : How i can read or access a form libray and query a item from file name and read form xml in WCF service ?
Ahsan Ranjha

Hi,
In SharePoint 2013, we can take use of REST API or Client Object Model to access the SharePoint objects like Form Library.
SharePoint 2013 REST API
http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
SharePoint 2013 Client Object Model
http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
With the retrieved file, we can then use XmlDocument object to parse it and get the values you want:
http://weblogs.asp.net/jimjackson/opening-and-reading-an-xml-file-in-a-document-library
http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • B2B identifying TP from file name and not Interchange

    We want B2B to identify trading partner from ISA/GS segment, but B2B is taking it from file name. We have property oracle.tip.adapter.b2b.edi.identifyFromTP set to "Interchange". As I understand based on the tip.property it should always take from the ISA/GS segment in dat file.
    We also have Trading Partner Identification Type set to EDI Interchange ID while setting up trading partner and it is set to the same value as Interchange Receiver Id in the Document Protocol.
    Anyone has any ideas?
    Thanks

    Hello Venkat,
    ideally this should work. Guess you have not restarted b2b after changing the tip.properties. If you still have issues, please raise an SR and also send the b2b.log in DEBUG mode.
    Rgds,Ramesh

  • I installed 7.1.2 update for my iphone5 and I have problems.   I can no longer access the internet on my phone.  My wifi is fine, and I've noticed that there is no longer any indication of "LTE" on my phone.

    Against my better judgement, I installed update 7.1.2 on my iphone5, and can no longer access the intenet.  I've dis some searching for a solution, but nothing works.  What has this happened?  And how can I fix it?

    LTE indicates cellular. Tap Settings > Cellular then switch Cellular Data ON.
    If your Wi-Fi is working, then you should be able to access the internet.
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    If that doesn't help, tap Settings > General > Reset > Reset Network Settings
    You will have to re enter your Wi-Fi password.
    * No data is lost due to a reset
    If nothing above has helped, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • Adding file name and file full path to a page

    Hi all I'm new to scripting
    What I want to do and don't know how to go about it is to run a script that collects the saved file name
    and the full path where the file is saved on the network and displays it on my document
    If any one has done something similar or if some one can help me create it it would be appreciated
    Thanks Gabriel

    var idoc = app.activeDocument;
    var itext = idoc.textFrames.add();
    var file = idoc.fullName;
    itext.contents = file.fsName;

  • I've set up a new iMac and transferred my library.  Now, when I switch on iTunes Match it gets to about 25% on stage 1 and just stops working,  Anyone know how to fix this?

    I've set up a new iMac and transferred my library.  Now, when I switch on iTunes Match it gets to about 25% on stage 1 and just stops working,  Anyone know how to fix this?

    Ok, so the likely cause is 1 or more Songs are tripping up iTunes Match.  To resolve, move to Song view, switch on iCloud Status and iCloud Download fields - sort the view on iCloud Status - identify Songs with status other than Purchased, Matched or Uploaded.  Temporarily remove them from the library, allow iTunes Match to complete the 3-step process.  Gradually import the Songs back in - any that cause a repeat failure, place in a playlist, burn to audio CD and import as 256k AAC.
    Note:  iTunes Match service in UK at present is intermittant, may be worth trying from 1200 tomorrow to give Apple the chance to complete its current updates.

  • HT4236 hello , when i want to add a folder of photo and I select then sync that folder in itune,there will be 2 folder in my iphon :1-in name of photo library 2-in name of photo library . how i can delete photo library folder from my iphone ?

    hello , i want to add a folder of photo to my iphon from my comp. i select that folder in itune and sync with my iphone . but i have 2 folder in my iphone .
    1-in name of the folder 2-in name of photo library.how i can delete photo library from my iphone but i still have my photo folder?

    You can't delete the Photo Library. The iPhone stores photos the same way iPhoto does on a Mac. All photos are synced to your Photo Library. The various albums/folders merely contain pointers to the actual photos which are in your Photo Library, they are not duplicates.

  • I recently got a new computer and i was wondering how i can i transfer music from my ipod touch to my new computer

    i recently got a new computer and i was wondering how i can i transfer music from my ipod touch to my new computer

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    or
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    Hey there Luba_kalstad,
    It sounds like you are unable to join your network and cannot see it in the Wi-Fi list in Settings. I would try the troubleshooting outlined in this article named:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your Wi-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    And this section down toward the bottom if needed:
    Unable to locate a Wi-Fi network
    Verify that the network is available by tapping Settings > Wi-Fi and choosing from the available networks.Note: It may take a few seconds for the Wi-Fi network name to appear.
    Move closer to your wireless router (access point) and attempt to locate the Wi-Fi network.
    If you do not see the network you would like to join, you may be attempting to connect to a hidden network. Learn how to join a hidden network.
    Supported Wi-Fi configurations vary by iOS device model. Find out which standards your device supports3.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including:
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Need script to add path and file name to fillable  form

    I have a fillable pdf form that I would like to have a script that adds the path and file name to the form. This script would be in a field at the end of the document.
    I am a newbie to javascript and formcalc. The script will be the only one in the form.
    Thanks for any assistance.
    Lisa

    Hi,
    I have a sample that attach a file to the PDF and write in a text field the file name. I don´t know how to get the full path and it only works in Acrobat. To work in Adobe Reader is necessary the LC Reader Extensions to give some special permissions to the document. But, regard this, you still want the sample send me a email to [email protected]
    Best Regards,

  • How to view long file names and sort files within folders/projects?

    Hello, like so many people here, I am a new mac user, but certainly not computer illiterate. I have been a professional photographer for 10 years and recently change to mac and have been slowly trying to adapt my work flow accordingly.
    However I have become increasingly frustrated with Aperture 3 and after reading posts here it looks like I am certainly not the only person. While in my case I am sure it is because of my inexperience with mac systems so any guidance or assistance is much appreciated.
    Hopefully my questions are simple. I have been importing my images and re-naming images as I do so. A very simple combination of date, custom name, and counter. However, when I look at the images once the import has completed, they are not in any logical order within the 'project'. I have tried to sort them by file name, orientation, file size, etc, both ascending and descending, but they will not list in the correct order. eg the file '2010-03-09 Lyon France 001', continually falls between '2010-03-09 Lyon France 022' and '....021'.
    This has also lead me to a further question. While my file names can generally be read when the image is a landscape format, on the portrait images the file name it too long for me to read the whole name, and I can not find anyway to read the file name, eg browser, split screen, viewer, or full screen.
    Im sorry for all the details, and I am sure it is just my lack of experience, so appreciate your help.
    PS. On a separate note, I notice on another thread from the frustrated user 'ultratechy' that he got a reply from Tony who stated 'Also after installing any application you should always run disk utility and repair permissions....' Now as I am completely new to mac, I had no idea about this. Any other tips that I should always be aware of? Thanks again.

    Thanks for your reply Calx. If it makes you feel better, I am actually a New South Welshman - just living in the sunshine state!
    You are correct, I am trying to get my head around a new way of working and thinking, but I suppose it will all become clearer as time goes by. I have re-visited the manual many times, and been doing loads of research online, but just trying to put it all into practice now, so any tips or advice is always appreciated.
    At the moment, I am just working with a small part of my library until I do get my head around things before moving onto the bulk of my images. I have my images stored and backed up on multiple external hard drives. I am trying to import my images into aperture from an external drive as I have been slack over the years with keywording, metadata, organising, etc etc, so I figure from what I have read that aperture may assist me with making these time consuming tasks a bit quicker and easier.
    I have put a bit of thought into my filing structure, but I am sure that with further use and understanding, this may change in the future, but I hope not. To give you an example of how I am thinking and working - I have used folders for my regular clients, eg, Ray White, and then made another level of folders within 'Ray White' for the date, and then in each 'date folder' I place my projects and name them with the address of the property I have photographed. I select and edit images from each project and place them in albums under each project. Not sure if this is the most perfect structure, but any advice is welcome.
    Keywords is always an issue with me. Over the years I have compiled a number of list for each client and each 'type' of photography. For example, real estate images have there own list, I just simply manually add keywords for specific jobs, eg the address and any specific location or features.
    Again, advice and guidance always welcome and I would appreciate how you go about these topics? And maybe you can help explain something that I have pre-emted may be a problem, and it may happen when I move onto my larger library, and I am not sure how to explain this as it may show my lack of management previously. When I worked on my PC, I used PS4, Adobe Bridge and Camera RAW pretty much exclusively. For my landscape images for example, I might have 2 or 3 variations of the one images, eg, black and white, sepia, and color for instance. But the file name remained the same, I just stored them in different folders indicating what version of the image was stored there. Now I am thinking that when I import images in Aperture, I will come across difficulties because Aperture will think the I am importing duplicate images because I will in fact have 3 images with the same file name, even though the adjustments I have made to them are different. Is this the case? Will I have to make adjustments again? Will I have to change the name of the files prior to importing? If so, any advice or tips?
    Well, I should stop there. Im sorry to bombard you with some much text, but as mentioned, I am new, and finding my feet, so thanks for your time.

  • I rented a movie on my MAC and wanted to see how I can watch it on my iPad?

    I rented a movie on my MAC and wanted to see how I can watch it on my iPad? It currently doesn't show up on the videos app.

    Howdy Twetz8,
    To view the movie you rented with your Mac on your iPad you would sync it from the Mac to the iPad.
    About renting movies from the iTunes Store - Apple Support
    If you rented the movie on your computer, but want to watch it on an iOS device, connect the devices and sync using USB. When you move a rented movie from your computer, it will disappear from your computer’s iTunes library. You can move the movie between devices as often as you want, but you can only have it on one device at a time.
    If you rented the movie on your iOS device or Apple TV, you can’t move it to any other device.
    To watch an HD movie, you need to play it on a supported device: your computer, iPhone 4 or later, iPad, iPod touch (4th generation or later), or TV using Apple TV.
    Enjoy,
    Nubz

  • How can I have uploaded pictures to iPhone or iPad be sorted by file name. Used to be able to based on their folders, but it no longer works and puts pictures in random order, I guess by date, which doesn't work for me. Need them by file name.

    Using windows. In the past I was able to have the picutres sorted in files and by file name and that is how they showed in the phone or pad. Not long ago one of the itune updates changed so it sorted by date and the the another update changed so it went by file name. Well when I got a new computer and updated itunes it won't load pictures in correct order. Is there an option I'm missing or is this an option that Apple should have for how you want pictures sorted?

    SELECT     datapoint,
               sub_total,
               section
    FROM       report_table
    WHERE      datapoint IN
                   (SELECT   datapoint
                    FROM     report_table
                    WHERE    section IN ('027', '038', '042', '044', '006', '008', '011', '022', '023')
                    AND      report_name = :selected_report_name
                    GROUP BY datapoint
                    HAVING SUM(CASE WHEN section IN ('027', '038', '042', '0440') THEN 1 ELSE 0 END)
                        <> SUM(CASE WHEN section IN ('008', '011', '022', '023') THEN 1 ELSE 0 END))
    ORDER BY   datapoint;

  • I had an HP laptop with Itunes on it and kept my library on an external hard drive. I had a 160gb classic Ipod.    My computer died and i am buying a new one (mac is out of budget)    When I get my new computer, obviously I will download Itunes. My Ipod s

    I had an HP laptop with Itunes on it and kept my library on an external hard drive. I had a 160gb classic Ipod.
    My computer died and i am buying a new one (mac is out of budget)
    When I get my new computer, obviously I will download Itunes. My Ipod still has all the music on it and the external hard drive is ok.
    I don't want to "erase" or lose any information when I sync with a new itunes that is "empty"
    What are the steps? After I download Itunes and set the folder location to my external harddrive what is next? Will Itunes recognize my IPOD? Will it load the music/list from my ipd or external into itunes?
    Thanks in advance

    The following user tip is worth checking through:
    Recovering your iTunes library from your iPod or iOS device

  • How to print the report file name and path and the last mod date

    Good morning,
    I am trying to print on the footer of the report the report file name and path as well as the report last modification date.
    Anyone would know how I can do that? I have checked the doc but found nothing.
    Thks. Philippe.

    Did you ever determine how to print report name and report last mod date?
    Thanks

  • I have a clickfree backup drive and don't know how to restore my previous bookmarks? I tried to copy the places.sqlite file from the backup drive to my compute

    I have a clickfree backup drive and my computer crashed. I restored it to factory settings and reinstalled Firefox but cannot figure out how to get my old bookmarks back. I tried to replace the new places.sqlite file with the one I had on my backup drive but still got nothing? I tried to use the restore option but it won't take the old places.sqlite file. Is there anyway to get my old bookmarks? I'm really not a techy person.....
    Thanks

    Bookmark Backups
    Type '''about:support''' in the address bar and press enter.
    Under the page logo on the left side you will see '''Application Basics.'''
    Under this find '''Profile Folder.''' To it’s right press the button
    '''Show Folder.''' This will open your file browser to the current
    Firefox profile. Now '''Close Firefox.'''
    Enter the '''bookmarkbackups''' folder. This is where Firefox makes backups
    of your bookmarks. Look for the '''jsonlz4''' file you want to restore
    (check the time / date / size). Right click on that file and select '''Copy.'''
    Now go back to the profile folder where you started. Rename the file
    '''places.sqlite''' by adding '''.old''' to it. Now right click in the folder
    and select '''Paste.''' The file you just pasted here, rename it to
    '''places.sqlite.''' After you are done, restart Firefox.
    Edited to correct file name error.

Maybe you are looking for

  • Can't Open Flash Pro CS5

    I just installed the 30-day trial version of Adobe Flash Pro CS5 on my HP laptop (I'm using Windows XP Professional) and every time I try to open it it says that "Adobe Flash CS5 has encountered a problem and needs to close." I need this for my job a

  • IDOC_INPUT_ORDERS with error message RV45A-VBAP_SELKZ (2) is not input fiel

    Hi I am creating a multiple line sales order from Idoc and using the FM IDOC_INPUT_ORDERS. The idoc is processed with status 51 with error message RV45A-VBAP_SELKZ (2) is not input field. It only happens for Idocs that are processed 1st time (re-proc

  • How to get the user log from the entried planning data ???

    Dear All, Could you help me to give the suggestion regarding that please .. ?? :). I have requirement to get the last user who in charge in modifying the planning data. Or in the other words, i'm gonna get the log from the entried planning data. e.g.

  • Error when extracting data using DB Connect from an Oracle database

    Hi All, We are on BI 3.5 and loading data from a non-SAP (Oracle 10g) database using DB Connect. I received the following error messages when trying to perform "Check DataSource" using the DB Connect setup in RSA1. Event with errors RSDL_META_UPLOAD

  • How to do transformation in Aqualogic Service Bus

    Hi, I am new to aqualogic service bus. Please guide me how can I do transformation. Here is the scenario: I have one proxy service (ProxyService) and two Buiness Services (BusinessServiceV1 and BusinessServiceV2).Each Business service talks to corres