How to publish an Admin-Approved InfoPath template to 2 different site collections, and retain same internal column names

Hi,
I am wondering how best to publish an InfoPath form as an Admin-Approved template, to both Site Collection 1 (SC1) and Site Collection 2 (SC2). Some fields are promoted to SharePoint columns.
I have already published my form to SC1, by choosing Publish to SharePoint Server > chose SC1 > Admin-approved > chose to publish to columns I had created manually on SC1 (these columns had relatively user-friendly internal names such
as 'Form_x0020_Status' etc, which I reference in xsl + code). I then uploaded the template in Central Admin as Admin-Approved, and activated the feature on SC1. This all worked fine.
However, if I then go to activate the feature on SC2, it creates columns with different internal names (GUIDs), which means my xsl + code won't work. If I try creating columns manually on SC2 before publishing, it still creates new GUID columns.
This of course must be because on feature activation on SC2, it cannot find the exact columns specified in the template (which was published to SC1), so it creates new ones.
In that case, what is the best way to publish an Admin-Approved template to 2 different site collections? One option is to create the columns using code, and deploy them to both sites as a feature, ensuring all IDs are the same. But should this be necessary, is
there any option available using only InfoPath and SharePoint?
Thanks for reading.

Check these similar threads
Republish
existing InfoPath Form to a different SharePoint Site
How
to Programmatically Publish an InfoPath 2010 Template (.xsn) to Multiple SharePoint Sites
Hope it will help
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • Template.xsn. Access to locations on different site collections is blocked for security reasons

    I am using sharepoint 2010 onpremise.
    I created a custom list, content type and columns. After this I go to the list and click on the infopath button in the ribbon to customize the form. I changed the form and published to the server.
    Now I get this error when I go to some page where I have added a infopath webpart:
    The following location is in a different site collection:
    http://www.myCompany.nl/someSubsite/Lists/VraagEnAntwoord/VraagEnAntwoord/template.xsn. Access to locations on different site collections is blocked for security reasons. For more information, contact your site administrator.
    This website has anonymous access.
    I have googled and found many people with this problem, but I dont find some solution. Someone talk about create a template from infopath and then publish it to a content type. I dont understand this solution. Can someone help?

    You are actually running an older version of Firefox (8). You should update to Firefox 9.0.1 and see if that helps

  • How to show content of a list which resides in other site collection in Office 365?

    Hi All,
    Can anyone help on How to show content of a list which resides in other site collection in Office 365 . Using Rest and Soap services this is not possible as we have limitations in office 365.So if anyone have any idea please let me know.
    Note : We are not allowed to use CSOM for this requirement.
    Many Thanks,
    Vinod.

    Hi Vinod,
    You can use cross site publishing feature of SharePoint 2013.
    http://blogs.msdn.com/b/justinvoels/archive/2012/09/24/sharepoint-2013-search-driven-publishing-and-cross_2d00_site-collection-publishing-overview.aspx
    https://technet.microsoft.com/en-us/library/jj635883.aspx
    Alternative to cross-site publishing in SP Online
    https://www.youtube.com/watch?v=chwHhEmIERg
    Best Regards,
    Brij K
    http://bloggerbrij.blogspot.co.uk/

  • Unable to apply a new site template to a new site collection's root web

    Hi folks,
    Using PowerShell I need to create a new site collection and add a new site template to its root web.  I've tried but failed...
    I created the site template from a team site that I modified and then saved it as a site template and saved the template to an WSP file (in the solutions gallery).
    I have tried both of the following methods but can't find the template to add to the root web of the site collection.  Help!!
    Method 1 - Create the site collection, deploy & install the template as a user solution, and apply the template
    I did the following, but it doesn't work because Get-SPWeb doesn't find it.  If I run Get-SPWeb with no parameters the list it returns doesn't include my template.  So site.GetWebTemplates includes it but Get-SPWebTemplate doesn't.
    # Create the site collection
    $site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
    # Deploy and install the template
    $wsp = Add-SPUserSolution -LiteralPath $wspPath -Site $siteURL
    $wsp = Install-SPUserSolution -Identity $wspIdentity -Site $siteURL
    # Assign the template.
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates)
    Write-Host $child.Name
    If ($child.Name.EndsWith("ABC")
    # the name of the template that I added ends in "ABC" - when this script runs I the name of my
    #added template displays as "{longGUID}#1ABC"
    $template = $child
    $templateID = $child.Name
    $template = Get-SPWebTemplate $templateID
    # regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
    $web = Get-SPWeb $siteURL
    $web | Set-SPWeb 
    -Template $template
    Method 2 - Deploy and install the template as a farm solution, create the site collection, and apply the template
    I did the following.  After I did the first section (deploy and install the solution to the farm) I was able to go to "Manage Farm Solutions" in CA and it was listed there, but neither
    site.GetWebTemplates nor Get-SPWebTemplate included the site template in their list of templates.
    # Deploy and install the solution to the farm
    $template = Add-SPSolution -LiteralPath "C:\SharePoint\Student Site.wsp"
    $template | Install-SPSolution
    Do {Start-Sleep 2 } while (!((Get-SPSolution $template).Deployed))
    # Create the site collection
    $site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
    # Assign the template.
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates)
            Write-Host $child.Name
            If ($child.Name.EndsWith("ABC")
    # the name of the template that I added ends in "ABC" - when this script runs I the name of my
    #added template displays as "{longGUID}#1ABC"
                            $template = $child
                            $templateID = $child.Name
    $template = Get-SPWebTemplate $templateID
    # regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
    $web = Get-SPWeb $siteURL
    $web | Set-SPWeb
    -Template $template
    David

    Out of curiosity, are you able to create a site within a site collection using this template? That is, can you create a site that is not the root site (e.g. http://sharepoint/sitecollection/Web)?
    Jason Warren
    Infrastructure Specialist
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • How can slow-motion iphone6 video be exported to imovie on an iMac and retain its slow motion effect ?

    how can slow-motion iphone6 video be exported to imovie on an iMac and retain its slow motion effect ?

    thx, i can't see where you do that (access the function to slow the motion of a clip).  in the help file it says to 'right click' on the clip to access those functions but when i do i get these optios below (no motion, pan, zoom, pan and zoom).  i want access the speed/duration sliders.
    i would say the function isn't available at all, but i could be looking in the wrong place (although i have tried everything).
    thx for your reply.

  • Don't Know How to Activate or Find Approval Workflow Template

    Hi
    I'm using Sharepoint 2013. I want to add an approval workflow but I don't know how, and actually I don't know if it is already installed or I have to install the Approval Workflow template separately?!
    Can anyone tell me how can I overcome this problem?
    Thanks

    Hi,
    According to your post, my understanding is that you wanted to find Approval Workflow Template.
    To activate the Workflow feature, you need to click Site Setting -> under Site Collection Administration, click “Site collection features",  and then activate the "Workflow" feature.
    Then the Approval Workflow Template will be appeared.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to delete (remove) a approval procedures templates ?

    I have added an approval procedures template for 2 stages for Good Receipt PO.
    then we used this approval procedure for several days.
    recently , our manager hopes me to remove this approval procedure.    ╮(﹀_﹀")╭
    I have tried many methods to delete (remove) or stop this approval procedure.
    but , I still can not find out the solution.
    hope somebody can kindly give me a suggestion. :P

    Hi!
    THERE IS NO WAY TO DO IT.
    If you still want to delete it from the database please create message to SAP support. May be it helps.
    Regards,
    Anton.

  • How to allow non-admin users to install software updates of Java, FLASH and Adobe Reader?

    Hi all,
    I have a company (+150 users) and I would like  to allow users to update Java, FLASH and Adobe Reader only.
    These software are already installed in the hosts, but there are updates of the program every week and it needs to be updated.
    How can I give permissions to every user in the domain to do that? Just "Java, FLASH and Adobe Reader"
    Remember that I dont want distribute software because they were installed.
    I tried to enable "Enable user to patch evelated products" directive but it didn't work at my domain.
    is it possible?

    I have a method that works for FLASH player, but am trying to come up with a method for the other 2 myself.  To automate flash player, I created a Policy and added the following:
    Under Computer Config, Prefrences, Windows Setting, Files I created a new File Item.
    I set Action = Replace, Created a Source File named mms.cfg* (more below) and have the destination file as systemroot%\System32\Macromed\Flash\mms.cfg (or %systemroot%\SysWOW64\Macromed\Flash\mms.cfg for x64)
    I used notepad to edit the mms.cfg, and used the following in the body:
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1
    AutoUpdateInterval=0
    My non-admin users now update flash in the background silently and automatically.

  • Custom template available across multiple site collections

    I have created a custom site template which I need to be available across multiple site collections. Is there a global area where I can put the .wsp file so that I can use it within any site collection.
    I also have a custom document library which I need to be available from with the site made from the custom site template mentioned above - Is there a global area where I can put the .stp file so that I can use it within any site within any site collection.
    thanks

    This will really depend how the template has been packaged.  If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
    the template. If it's within the New --> XXX Document, than you're in luck
    If they're just deployed as normal files within a library, you'll have a much harder time.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Granting users Site admin to All site collections and/or Adding an o365 group by email to site admin group on all Site collections

    We will have 1000s of site collections.
    Why doesn't SharePoint Online 2013 offer a way to grant a user or a group Site admin rights to all site collections?
    And.. if we must add the user to every single site, can this be done by an o365 or ADFS group using it's email?
    We'd like to run this script to add a group to site collection admin on all sites, but Groups can't be referenced by an email?
    Get-SPOSite|foreach{Set-SPOUser -Site $_.Url -LoginName [email protected] -IsSiteCollectionAdmin $True}
    produces an error.  And if we try to add the group by email manually through the UI it can't find it either.   We've tried this with o365 groups and  ADFS groups.
    Any way to reference these groups from PowerShell?
    Is this limitation there for a reason? 

    bump.. anybody?

  • How to retrive latest items from different site collection using content search web part

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewik
    Now I need to display the latest 10 wiki pages that are inside the enterprise wiki site collection (according to the modified date) inside the team site. So I read that using Content search web part allows for cross-site content query.
    So I added a new content search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's library and to specify that I need to get the latest 10 wiki pages using the
    content search web part's query dialog box? Can anyone advice please ?
    Thanks

    Edit the webpart and click change query in search criteria.  click on switch to advanced mode and enter your path:
    (path:"http://applicationname/teamsite" OR path:"http://applicationname/enterprisewik")
    you can specify sorting by created date and click ok.  in number of items to show, type 10.  this should fulfill your requirement.
    For further reading, here are some links:
    http://office.microsoft.com/en-001/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/04/30/stage-9-configure-the-
    query-in-a-content-search-web-part-on-a-category-page.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/23/stage-10-configure-the-query-in-a-content-search-web-part-on-a-catalog-item-page.aspx
    kashif

  • How to extract audit log data from every document library in site collection using powershell?

    Hi All,
    I have n number of document library in one site collection,
    My query is- How to extract audit log data from every document library in a site collection using powershell?
    Please give solution as soon as possible?

    Hi inguru,
    For SharePoint audit log data, These data combine together in site collection. So there is no easy way to extract audit log data for document library.
    As a workaround, you can export the site collection audit log data to a CSV file using PowerShell Command, then you can filter the document library audit log data in Excel.
    More information:
    SharePoint 2007 \ 2010 – PowerShell script to get SharePoint audit information:
    http://sharepointhivehints.wordpress.com/2014/04/30/sharepoint-2007-2010-powershell-script-to-get-sharepoint-audit-information/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • 2013 SP Site Collection and Farm Admin permissions and cannot access site

    I am Farm Admin and Site Collection admin on my 2013 SP server and CAN access Central Admin, but CANNOT open the site without being promted for user name and password.  When I enter the user name and password they are not accepted. 
    This is on my production server.  I have NO PROBLEMs with the staging server.  The 2 are set up exactly the same.
    Any suggestions? 

    Discussion
    Farm Administrators are not automatically able to access site collections.  They can however add themselves to the site collection administrators group.  Additional detail:
    Permissions for site collection administrators - scroll down to the
    SharePoint farm administrators section (midway down) and look for the
    Note.
    Resolution
    Add your farm administrators account to the site collection administrators group. You can do this two ways:
    Go: Central administration > Application Management > Site Collections > Change site collection administrators
    Go: [your site collection] > Site Settings > Users and Permissions > Site collection administrators.

  • How would I setup some kind of template that creates tasks, due dates, and assignments automatically.

    Basically I want to setup something (project, workflow, template, list item), and what I would like it to do is:
    1. Ask for a name (text field, ex. "create business cards")
    2. Ask for a due date (date, ex.  "9/1/2015")
    Then based on those items, a number of tasks are created with relative due dates and assignments, ex. :
    "send email to marketing for logo" assigned to John Smith
    "Get logo approved from designer" due "8/1/2015" (1 month previous to due date), assignemd to Robert
    "send logo to shipping company" assigned to Matthew.
    And this process should be repeatable many, many times.  Say we are a business card company, so we need to do this same process over, and over again. 
    I'm hoping to use as much OOB as possible, without any programming, but not sure where to even start looking.  I've googled Task Templates, and Templated Task List, and stuff like that, but not finding much.  I'm learning more about Workflows,
    but not sure if that will even help me in this.  Thank you all!
    Edit: I have full access (system administrator) on SharePoint 2013 Enterprise. 

    Russ,
    If you watch this: https://www.youtube.com/watch?v=l7a_7KiE9vk you'll get a very good idea of how to develop the content type form, and then check out the Lynda Designer tutorial to build the workflow:  http://www.lynda.com/SharePoint-tutorials/Using-parallel-blocks/144025/161226-4.html?autoplay=true
    Basically, you build the custom form, make it the default document for a list, every time someone opens and saves that form  as a new document, your workflow is triggered on it and the tasks and emails you noted above get fired off.  You'll want
    to pay attention to the differences between SP 2010 and SP 2013 Designer workflows (and will likely want to go with SP 2013 workflows).  I think you'll also want to go with a List Workflow over the other choices.  If you have 2 days mostly uninterrupted,
    you'd be able to watch the tutorials and get a basic workflow in place; Designer and Workflow Mgr on the server can be a bit tricky, so installing those may be more of an issue than the actual development.
    Chad

  • How do I delete a bc gurus template on my partner site?

    Hi,
    I purchased the bc gurus
    uguru-verticalmarketing-au1
    template and imported it on my partner site but now I would like to remove it all and create my own custom site.  How is the best way to do this?
    Thanks,
    Tammy

    Hi
    You can use any composition widget such as tool tip , where you place the trigger on page and remove hide initially for target which will appear as a pop up on page.
    If you want to achieve using html , through Object > Insert HTML
    This should help you :
    http://www.youtube.com/watch?v=Ufsz0V_CRLw
    Thanks,
    Sanjit

Maybe you are looking for