Get Parent Document set information in Infopath Template

I have a Document Library in which Document set is activated  and InfoPath content type is added to the document set.
When user try to create an InfoPath template inside the document set ,I need to populate the details of parent document set in the InfoPath form. How can I achieve this?

Hi,    
For your requirement, you can take consideration of using REST API to retrieve the values of metadata columns as the demos in the link below:
http://msdn.microsoft.com/en-us/library/dn292552.aspx
http://msdn.microsoft.com/en-us/library/dn292553.aspx
You can take this article below about
Get started with the SharePoint 2013 REST service for a quick start:
http://msdn.microsoft.com/en-us/library/fp142380.aspx
What’s more, here is an article about
How to filter on a Managed Metadata column via REST in SharePoint 2013
if you would have the similar need:
http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • DBCA doesn't save character set information in the template!!

    Hello,
    I have found a problem using the DBCA when creating a template with a database character set of AL32UTF8.
    When I create a database using the aforementioned template from the commandline (dbca -silent) it reverts the character set to WE8ISO8859P1.
    If I try and alter the character set after creation using:
    ALTER DATABASE CHARACTER SET AL32UTF8;
    it complains that tis cannot be done, so I must set this in the template.
    Am I missing something obvious? Why is this information not being stored in the .dbc file?
    Many thanks
    Nic Hemley

    Well, having patched the template xml file i then had to do:
    dbca -silent -createDatabase -templateName advisor.dbc -gdbName advisor.invocom -sid advisor -sysPassword j3r3m1aha -continueOnNonFatalErrors false
    apparently the .dbc is required on the template name
    However.....
    NLS_DATE_LANGUAGE
    NLS_DATE_FORMAT
    NLS_LANGUAGE
    NLS_TERRITORY
    NLS_ISO_CURRENCY
    are not set in the template either...why is the template missing so much stuff that i thought i had configured?

  • Get empty document size information?

    Hi,
    I need to identify the empty tif files(that is the file which have no data(empty document size)) using scripting. Kindly advise me how to get the information using scripting.
    Thanks for looking into this.

    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", '*.jpg;*.tif;*.pdf;*.psd', true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles.length > 0) {
              var theArray = new Array;
              for (var m = 0; m < theFiles.length; m++) {
                        theArray.push(theFiles[m].name+" is "+theFiles[m].length+" bytes")
              alert (theArray.join("\n"))
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
            return true

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    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]

  • Document Sets and Content Types

    Hi All,
    I am having trouble in getting the "document sets" content types applied as expected when I try to create a site based off custom template.
    Scenario:
    We have 8 document sets stored in a document library. This library is part of a site which we have saved as a template.
    E.g. of document sets is "Others", "Meetings" etc
    Each of these document sets have one or more content types associated with it.
    We are trying to create a site based off the saved site template using powershell.
    E.g. $web = New-SPWeb http://myserver/sites/mysite/subsite
    $web.ApplyWebTemplate("{GUID}#Name of Template")
    When we open the document sets in this newly created site, the content types seem to be coming all together rather than being associated with the specific document set.
    E.g. Clicking "New document" in the "others" document set would show up content types from "meeting" and all the remaining document sets present in that library.
    Interestingly, when I go to "Document Set" settings, I only see the content type of "Others" Document Set.
    Any idea why the "New document" dropdown for the document set is not behaving as expected?

    Hi Abhi,
    Based on your description, I did a test. In my testing, everything worked well.
    The steps are:
    Go to Site Actions->Site Settings->Site content types.
    Create a new content type, and select parent content type from Document Set Content Types, and Parent Content Type: Document Set
    Click ok
    Under Settings, click Document Set settings
    On the Allowed Content Type section, select some content types and add them
    Click OK
    Then repeat step2-6, and create another custom document set
    Open your library, and allow management of content types in advanced settings
    Add the two document sets into the library
    Check each document set, and each one had different content types
    Save the site as a template and include the content
    Create a new site based on the site template using PowerShell(the command was same with yours)
    After creating, check the document sets of the library in the new site, everything worked well.
    Please check your process as the above steps.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Querying parent child sets

    Hi
    I have a cube with a dimension that has a value based hierarchy (id, description,parent)
    Is it possible to query the cube to get parent child sets ?
    I want the result set to look like
    Member Value Parent
    Parent_1 Measure_Value NULL
    Child_1.1 Measure_Value Parent_1
    Child_1.2 Measure_Value Parent_1
    Parent_2 Measure_Value NULL
    Child_2.1 Measure_Value Parent_2
    Child_2.2 Measure_Value Parent_2
    Also I am using a java front end,so I would like to do some pagination
    So I would like say 1st 50 sets , 2nd 50 sets and so on

    Cube Materialized Views are only created if you enable them and they are also only compatible with level based hierarchies. So MVs are not appropriate in your case.
    If you are generating your own SQL then you could consider a hybrid approach by combining OLAP DML and SQL to get the explicit list of members. First execute the following OLAP DML.
    LIMIT my_dim TO 'Parent_1' 'Parent_2'
    LIMIT my_dim ADD DESCENDANTS USING my_dim_parentrel
    SORT my_dim HIERARCHY my_dim_parentrelNow get the dimension members via either OLAP DML (e.g. REPORT command) or running SQL after the limit above. This gives you the explicit list of members that you can feed into a subsequent query.
    SELECT dim_key, ...
    FROM my_dim_view, cube_view
    WHERE
      <join condition>
      AND dim_key IN (...list from report command...}
      Make sure you set status back via ALLSTAT after getting the list or it will change results later.

  • Cannot access external data , Failed to get the document information.

    Hi All,
    In my dashboard there are live office connections which has optional prompts defined in SAP BI. I have bound the cells to these prompts in live office object properties.
    There are no errors while refreshing the LO connections from excel sheet.
    But when i run that dashboard and give BLANK value for that prompt then it throws the error :
    Cannot access external data , Failed to get the document information. (LO 26315).
    Reply highly appreciated.
    Thanks & Regards,
    DJ

    Hi Hardik,
    I am building a similar solution as yours connecting webi reports to Bex queries and reading the webi data through live office into the dashboards. I am using almost similar versions as yours - BW 7.1 SP5, BO 4.1 SP4, Dashboards and Live Office SP4 versions. I am facing issues setting up the live office connections itself. I create the Live office connections within an excel and when I try to import this excel spreadsheet into my dashboard designer, it runs forever and crashes.
    Could you please list out the steps you performed to get the Dashboard to preview live office data? Do you have OLAP connections for BW cubes and created WebI reports using these connections or You created a Universe on top of the Bex Queries?
    It would be great if you could share the steps performed.
    With respect to your issue, check if the report engine service is running. Do you have any error message details apart from this error?
    Thanks.
    Regards,
    Rohini.

  • Why do users get "unable to set template properties" message?

    Hi there,
    I am trying to administer a new site that was created with DW and has a .dwt (Templates/ locatedat the site root). I'm creating "Publisher" role connection keys so users can edit their subsections of the site. Users should be able to modify template properties when they edit/create new pages.
    While testing the keys, the users report that they can connect and edit pages. However, when they try to modify template properties on either a new or existing page, they get this message "Unable to set template properties" and are prevented.
    I've tried redefining the site and starting all over, tried CS3 vs. CS4 to see if it was a compatibility issue, looked at forum after forum but can't find any answers. I am experienced with DW but new to Contribute administration so I don't know what else to try. Hoping that someone will have encountered this before and can suggest a solution.
    Thanks in advance!
    ps- Let me know if there's other info I can provide to help troubleshoot.

    I did find this April 9, 2009 post from majtom2grndctrl that suggests the issue is how contribute treats https:// sites. My site is set up as majtom2grndctrl described and I am having the same problem.
    "I've got a problem with not being able to edit Template Properties on our test sites we host on HTTPS servers. I've narrowed down the problem to Contribute CS4 ignoring the website root configuration when it looks for the Templates folder. For example, say you have a site hosted at the following address:
    https://www.yourdomain.com/yourfolder/
    Contribute is configured to know your site is in /yourfolder/, but for whatever reason, when you open or create a page, and Contribute reads the InstanceBegin template="/Templates/file.dwt" tag at the beginning of HTML documents, it looks for a Templates folder at the HTTP server root, not in /yourfolder/. This prevents Contribute from loading the template while editing a document, and any attempt to edit Template Properties will yield the infamous "Unable to set template properties" dialog box."

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Failed to get the document information (LO 26315)

    Hi,
    I have to create an Xcelsius dashboard where I use a Live Office connection based on a WebI-report. The WebI is created on top of a BEx Query.
    I need to pass 12 parameters to the WebI-report in orde to get the correct data.
    Everything works fine in design-time, but when I want to preview the dashboard, I get the error: Failed to get the document information (LO 26315).
    After investigating the issue, I've noticed that everything works fine when the parameters I have to pass, are only created in the WebI-report. But in my case it is a BEx variable that causes the error.
    There is no possible way that I can recreate the BEx variable in the Universe (There are restricted key figures, calculated key figures and cell restrictions in the BEx query).
    My question: is there a way to pass a parameter from an Xcelsius dashboard to a WebI-report via a Live Office connection to a BEx variable?
    Lieven

    Fred,
    on the SAP Notes Search page on sdn.sap.com, you can enter the note number in a text field at the right side of the page, just above the Search Option part.
    Just enter Note 1357924 in that text field and press the blue icon with the arrows next to it. Thiw ill show the corresponding note.
    Lieven

  • TS4463 I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.

    I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.  I tried running the repair utlity to repair the iCloud however I am still getting this error message.

    I tried rebooting.  It didn't change anything.

  • I just updated my MAC operating system and when I went to open a recent document in numbers, the document that opened had none of my data and was formatted differently.  Can I get my document with all my information back?

    I just updated my MAC operating system and when I went to open a recent document in numbers, the document that opened had none of my data and was formatted differently.  Can I get my document with all my information back?

    I suggest the easy stuff first:
    1) quite Numbers and restart Numbers
    2) reboot the computer
    After that try opening the same document in another user space

  • Getting Multiple Shipping Document sets for multiple deliveies

    Hi,
    I have a trip with multiple deliveries. After ship confirming the trip from a Trips tab, the reports in shipping document set printing multiple times one each for a delivery.
    How can I get the shipping document set to be submitted once per trip?
    Thank you,
    Prashanth

    Hi,
    For your requirement, here is a solution like this:
    1.Create 3 custom Document content types inherit the built-in Document content type;
    2.Create 3 custom Document Set content types inherit the built-in Document Set content type;
    3.In the “Document Set settings” page of each custom Document Set content type, remove the “Document” content type from the “Allowed Content Types”;
    4.Now we can create a Document Library and add the 3 custom Document Set content types into it.
    5.Remove the Document content from the “Content Types” in the “Document Library Settings” page.
    Here is how it works like in my environment:
    In "Document Library Settings" page:
    Best regards
    Patrick Liang
    TechNet Community Support

  • I keep getting this when open Gmail. TypeError: parent.document.getElementById("canvas_frame").contentDocument.getElementById("guser") is null

    I keep getting this when I open Gmail v3.6.13 and v4.11b
    TypeError: parent.document.getElementById("canvas_frame").
    contentDocument.getElementById("guser") is null.''''''

    You don't need to upgrade your software.  But if you're struggling with Spry, IMO you should cut your losses and switch to something better for the longrun.
    If you have a budget to work with, I highly recommend Project Seven's Pop-Menu Magic 3.  It's easy to use in DW CS4, 5, 6 or CC.  More importantly, it's bullet proof and works in all devices. 
    Pop-Menu  Magic3 by PVII (commercial DW extension)
    http://www.projectseven.com/products/menusystems/pmm3/index.htm
    If you don't have a budget to work with, you can roll your own menus with jQuery plugins.  A bit more effort on your part, but they perform better than Spry.
    jQuery Superfish
    http://users.tpg.com.au/j_birch/plugins/superfish/
    jQuery MegaMenu2
    DEMO:
    http://www.geektantra.com/projects/jquery-megamenu-2/
    DOWNLOAD:
    http://code.google.com/p/jquery-megamenu/
    Nancy O.

  • Create Document Sets from template

    Our current functionality:  a document library is saved as a template.  When a user creates a new document library they created it from that template.  This ensures that all new document libraries consist of a pre-defined set of documents
    as a starting point.
    I'm looking into a Document Set solution.  My question is:  Is it possible to create a Document Set based on either an existing document set or an existing document library?  Basically, we have an initial set of documents that we would like
    to be included in all the new Document Sets created.  If they cannot be added at the time of creation, what would a power user need to do so that after an empty document set is created they would add a pre-defined set of documents from some other location
    in Sharepoint.  Basically, what I'm asking, is there something for Document Sets that is equivalent to:
    - exporting a document library as a template (with content)
    - creating a new document library based on that template
    except that I want to find out if something like this is possible for Document Sets
    thanks,

    What's a data set?
    For document sets you can create a custom content type and specify the default documents, metadata and so on. You can then use the Content Hub tooling to push that down to various subscriber site collections.

Maybe you are looking for

  • Error when submitting to report reacan06(TR EA20)

    Hi, I am trying to call report reacan06 (TR EA20 : module :ISU) with the following set of following options. DATA: lv_belnr           TYPE RANGE OF erch-belnr WITH HEADER LINE. DATA: lv_reversal_reason TYPE bcreason VALUE '04'. DATA: lv_doc_del      

  • Iphoto 11 book theme summary?

    Hiya, I am new to iphoto and I am trying to decide which book theme to use and as much as the preview screen is handy to pick the look and feel, I would like a summary table of all the themes to help with my selection. The key information not availab

  • Sliding Nav InDesign CS6

    Hi, I have created a sliding navigation using the bottom margin and motion path tweening. I have  grouped bunches of buttons inside the sliding panel which takes the user to respective pages upon clicking the buttons. It does work but my sliding navi

  • How do I sync with multiple systems with my Iphone 3GS?

       How do I sync with my new IMac with out losing my data that I have already syced with my old PC?

  • How to catch a event by button personalization

    Hi, I added a button in a standard page by Personalization. On click of button, I need to do some validations. As this is not a "Submit Button", I cannot get the event in processFormRequest. So I need to define a event by setting "Action Type" as "Fi