InfoPath 2010 questions? Ask here. - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath 2010 questions? Ask here.

Last post 06-18-2015 03:23 AM by prasanna.b. 92 replies.
Page 2 of 7 (93 items) < Previous 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  • 05-31-2010 11:04 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Thank you for your reply Dipesh,

    Can You confirm that there no more script (vbscript or jscript) in infopath 2010 (only managed code) ?

     Regards

  • 05-31-2010 11:13 PM In reply to

    • PJagger
    • Top 500 Contributor
      Male
    • Joined on 11-20-2007
    • Australia
    • Posts 40

    Re: InfoPath 2010 questions? Ask here.

    Hi Dipesh,

    I can confirm that infopath 2010 only works with managed script (C# or visual basic) no more vbscript or jscript.

    Regards - Phil

  • 06-01-2010 12:04 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Thank you Phil,

     Is-it easy to migrate from vbScript to managed script (have to rewrite all) ?

     Regards

  • 06-01-2010 05:16 AM In reply to

    • PJagger
    • Top 500 Contributor
      Male
    • Joined on 11-20-2007
    • Australia
    • Posts 40

    Re: InfoPath 2010 questions? Ask here.

    Under the programming option, you have to choose the new code you intend to use.  At this point the old code will be removed from the form.  The suggestion is that you copy the code to a notepad (or wordpad) file before you modify the form, then use the copy of the code as your guide to rewrite in the managed code format (of course there will be some aspects of the managed code which will be the same as the script and there will be some aspects which you will have to change for the new code language).

    Regards - Phil 

  • 06-01-2010 05:44 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Thank You Phil,

    Let's copy and paste, and make changes.

    Regards

  • 06-01-2010 09:17 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Thanks for all reply.

    actually we are getting following error while migrating infopath 2007 to 2010.
     
    "The form template contains more than one XML Schema that use the same namespace, which is not allowed."
     
    Please note the below steps which are followed while created infopath 2007 templates.
    1. create the main XSD
    2. for common fields like telephone, name etc.. we have created common.xsd so that we can re-use the same in multiple xsd
    3. fetch the main xsd... note that main xsd have reference of common.xsd
    4. also we have a manage codes
    5. also we have a mutliple data connections to bind the xml to drop downs
    6. publish and upload.
     

     

  • 06-01-2010 09:18 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    there is no script language on same.

  • 08-09-2010 01:50 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Hello warrtalon, I am so new about InfoPath 2010 and sharePoint too i try to make an Print button on my list which ı create on InfoPath as an sharePoint List, i found a lot of documants about it and thisXDocumant.PrintOut() method ,but there is a big problem , all sources explain on infoPath 2003 or 2007 but , in 2010 design is diffrent and i cant find anything that i searced. Could you explain, how can i make a print button in my list, step by step or just could you tell me please, how can ı reach code behind of button which i put on the form in InfoPath 2010? P.S: i am really new everything about InfoPath and sharePoint. thank you :)
  • 08-24-2010 05:07 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    I'm just wondering if infopath forms are supposed to open the dialog windows ? I have it selected, but my forms dont do it, they just open up the old way on a new page. When using just a list form they work no problems...

     No biggy just thought I would ask :)

  • 08-24-2010 06:49 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Tugce, I do not write any code, so I'm not really sure how to make a Print button, since that requires Full Trust code.  However, to access the code builder for a button, you can click on your button in design mode, switch to the Properties tab in the ribbon, and click the Custom Code action.  This will invoke Visual Studio and allow you to write code that gets executed when the button is pushed at run time.

  • 08-24-2010 06:50 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Baldcat, I don't know why exactly, but it's only the list forms that open in modal dialog.  Even in a doc lib, there is a setting for opening forms in dialog, but it's only referring to the propeties from.  You can open the properties of your InfoPath form in dialog but not the document itself.  On lists, the forms are not actual documents, so they are able to open in dialog.  In fact, before customizing with InfoPath, the form is actually InfoPath already but with no formatting.

  • 09-14-2010 04:12 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    ISSUE: 'Type (icon linked to document)' column stopped working : Post Infopath form migration 2007>2010

    Hi,

    I am an experienced SharePoint IT prof but never got much chances to work on the InfoPath side of things.

    But, now I am doing a migration work where I am migrating a 2007 SharePoint site (to 2010) which has a form library with say 100 items/forms instances in it (created from a form template having managed code deployed via central admin i.e. administrator deployable form template).

    I have followed the steps listed in Microsoft's article and got everything almost working for me.
    ------------------
    http://technet.microsoft.com/en-us/library/ee704551.aspx
    -------------------

    The only issue that I have facing now is that after the migration the form library’s first image column "Type (icon linked to document)" has stopped working. Meaning this column's hyperlink is not there which one can click to open existing forms. It gives an impression as if it has been disabled somehow.


    The users want that same InfoPath-icon image to be clickable as that’s how it was working in 2007 version site for them.
    I have tried create a test form (using the same form template) in the 2010 migrated form library and got the form saved in there fine but again the hyperlink part of the first column is still missing for the form too. So basically for both the existing as well new forms instances of this form library have the same issue.

    I really don’t have any clues as to this is happening. Is there anything that can be done to get the hyperlink functionality back.? Thanks for your help in advance.

     

  • 09-14-2010 07:18 AM In reply to

    Re: InfoPath 2010 questions? Ask here.

    The Type icon unfortunately doesn't work in 2010 at all - it's not related to your migration.  I also heavily utilize this icon for having my users access forms, but I discovered in early Beta that they didn't work.  I submitted it as a bug to the InfoPath team who sent it to the SharePoint team, but they deemed it too unimportant to fix before RTM.  It may get fixed in a Service Pack, but for now, it simply doesn't work.  They only workaround they offered me was a direct customization in SharePoint Designer that would only work for one location at a time.

  • 09-26-2010 10:20 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    Clayton, Thanks for your valuable feedback. You mentioned some custom way to have this done using SharePoint Designer. In my case as there is only one site with 2 Form libraries in it, I think custom solution can be easily implemented on it if it’s possible for you to share some info about the same solution.

  • 09-26-2010 10:29 PM In reply to

    Re: InfoPath 2010 questions? Ask here.

    It's not a published method (that I know of), and I haven't even tried it, because it is not a sustainable solution.  But, if it helps you, then here it is:

    1. Open up the page containing your document library view
    2. Click Add/Remove Columns in the Ribbon (under Options tab in List View Tools contextual ribbon)
    3. Remove “Name (linked to document with edit menu)” field
    4. Add “Name (linked to document)” field
    5. In design view, select one of the values in the Name field.
    6. Ctrl+B to bold the value (this is a workaround to generate custom XSL for that value)
    7. Go to Split View
    8. Select a value in Name field again (just like in step 5).  You’ll see the mapping XSL code being highlighted in the code view portion of Split view.
    9. Select the <strong> tag and the xsl:value inside, replace it with the following markup (in the code view section):
                                <img border="0" alt="{$thisNode/@FileLeafRef}" title="{$thisNode/@FileLeafRef}" src="/_layouts/images/{$thisNode/@HTML_x0020_File_x0020_Type.File_x0020_Type.mapico}"/> 

     

    This will get you the Type icon with a link to open the file.
Page 2 of 7 (93 items) < Previous 1 2 3 4 5 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.