Meeting Questions and Answers:

948 views
879 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
948
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Meeting Questions and Answers:

  1. 1. Meeting Questions and Answers:<br />Subject: Building SharePoint Applications with InfoPath 2010 (INP03CAL)<br />Start Time: Wednesday, March 10, 2010 8:00:00 AM GMT-8:0 <br />Petra Korica-Pehserl Asked: What does first class control mean in Infopath?<br />Roberto Taboada (Microsoft) Answered: The people/person picker is a built in control in InfoPath 2010, which can be inserted in to any form from the controls gallery, and will work automatically when published. In InfoPath 2007 this control required many manual configuration steps that are no longer needed.<br />Ofer Gal Asked: can forms be embeded in a web part?<br />Roberto Taboada (Microsoft) Answered: Yes. Please check out Nick Dallett’s Academy Live presentation on April 7 on Form-Driven Mashups. Also check out the InfoPath team blog for more information, for example this video on code-free mashups using InfoPath Web Parts.<br />Andrew Brimberry Asked: Off topic a little, what OS is the demo running on?<br />Roberto Taboada (Microsoft) Answered: Windows Server 2008 R2.<br />John Keegan Asked: Can you also create as PDF document?<br />Roberto Taboada (Microsoft) Answered: Yes. You can use Word Automation Services for SharePoint 2010 to convert Word documents into PDF. Check out the blogs by Brian Jones and Zeyad Rajabi introducing Word Automation Services and discussing how to leverage the power of Word Automation Services.<br />Venkatanarasimha KL Asked: How difficult or easy if the Line Of Business Data is in other than SQL Server for example: SAP, Oracle Database?<br />Roberto Taboada (Microsoft) Answered: Please visit the blog for the Business Connectivity Services team. Some topics that may be of interestin include the Overview of Business Connectivity Services and Duet Enterprise for Microsoft SharePoint and SAP.<br />Lou Farho Asked: can you submit data to multiple datasources or lists?<br />Roberto Taboada (Microsoft) Answered: Yes. You can submit to multiple data sources including form libraries and web services. However, any given form can only submit to one SharePoint list and for it to do so, the form has to be associated with the list (it cannot be a form library form).<br />Venkatanarasimha KL Asked: How to take care of complex exceptional handling in workflows through SharePoint Designer 2010?<br />Roberto Taboada (Microsoft) Answered: I recommend that you visit the SharePoint Designer Team Blog.<br />Ofer Gal Asked: Can we have the sources of the demo?<br />Roberto Taboada (Microsoft) Answered: We are planning to rebuild the demo on the final bits of Office 2010, but don’t have a concrete ETA yet.<br />Venkatanarasimha KL Asked: What are the limitations of the SPD (SharePoint Designer) in the context of WorkFlow created using SharePoint Designer 2010 when compare to writing the same workflow using Visual Studio 2010?<br />Roberto Taboada (Microsoft) Answered: I recommend that you visit the SharePoint Designer Team Blog.<br />Venkatanarasimha KL Asked: Where do we get the code for this sample workflow?<br />Roberto Taboada (Microsoft) Answered: We are planning to rebuild the demo on the final bits of Office 2010, but don’t have a concrete ETA yet.<br />Manish Mangrulkar Asked: How do we remove the Ribbin in the form?<br />Roberto Taboada (Microsoft) Answered: In the InfoPath Designer, go to the File menu, select Form Options, and go to the Web Browser tab. You can uncheck the “Show InfoPath commands in the Ribbon or toolbar” to turn the Ribbon off.<br />eduardo osorio Asked: what happen with code behind also preserves the relative URL, or still need to do manually<br />Roberto Taboada (Microsoft) Answered: For code and rules, we created functions specifically design to assemble URLs. They allow you to obtain the path to the server, site collection, site, or library/list where the form is hosted so you can assemble URLs dynamically instead of hardcoding them. For example, you can use this to assemble a hyperlink to a related list that lives on the same site.<br />The screenshot below shows the URL functions in the function building user interface:<br />Anjali Kukde Asked: Is the Document ids feature available in InfoPath 2007?<br />Roberto Taboada (Microsoft) Answered: This is a SharePoint feature available only in SharePoint 2010. For more information on this service, check out the Enterprise Content Management team blog and this MSDN article.<br />Jim Zhang Asked: can infopath browser form connect to sql database directly without using BCS or web services?<br />Roberto Taboada (Microsoft) Answered: You can connect to a SQL database directly for querying, but in order to submit the recommended way is to use a web service.<br />Please reference the following blog posts on data connections in InfoPath:<br />http://blogs.msdn.com/infopath/archive/2006/06/14/advanced-server-side-authentication-for-data-connections-part-1.aspx <br />http://blogs.msdn.com/infopath/archive/2006/06/27/advanced-server-side-authentication-for-data-connections-part-2.aspx <br />http://blogs.msdn.com/infopath/archive/2006/07/03/655611.aspx<br />eduardo osorio Changes Question To: what happen with code behind also preserves the relative URL, or still need to do manually?<br />Roberto Taboada (Microsoft) Answered: For code and rules, we created functions specifically design to assemble URLs. They allow you to obtain the path to the server, site collection, site, or library/list where the form is hosted so you can assemble URLs dynamically instead of hardcoding them. For example, you can use this to assemble a hyperlink to a related list that lives on the same site.<br />The screenshot below shows the URL functions in the function building user interface:<br />Manish Mangrulkar Asked: Can you please share code for " Add Item" button<br />Roberto Taboada (Microsoft) Answered: We are planning to rebuild the demo on the final bits of Office 2010, but don’t have a concrete ETA yet. However, I can share with you the following code sample built by a member of the InfoPath team. This sample shows code that adds an item to an existing repeating structure:<br />            // Get the empty row from sampledata.xml<br />            // Append the empty row after existing rows, or as the first row in the table.          <br />            using (Stream sampleXMLFile = this.Template.OpenFileFromPackage(" sampledata.xml" ))<br />            {<br />                if (sampleXMLFile != null)<br />                {<br />                    string rowXPath = " /my:myFields/my:Order/my:OrderRow" ;<br />                    XPathDocument sampleXML = new XPathDocument(sampleXMLFile);<br />                    if (sampleXML != null) {<br />                        XPathNavigator newOrderRow = sampleXML.CreateNavigator().SelectSingleNode(rowXPath, NamespaceManager);<br />                        if (newOrderRow != null)<br />                        {<br />                            // append or add row logic<br />                            XPathNodeIterator existingRows = this.MainDataSource.CreateNavigator().Select(rowXPath, NamespaceManager);<br />                            if (existingRows != null)<br />                            {<br />                                if (existingRows.Count > 0)<br />                                {<br />                                    // append as last row<br />                                    XPathNavigator lastRow = this.MainDataSource.CreateNavigator().SelectSingleNode(rowXPath + <br />                                        " [last()]" , NamespaceManager);<br />                                    if (lastRow != null)<br />                                        lastRow.InsertAfter(newOrderRow);                                      <br />                                }<br />                                else<br />                                {<br />                                    // add as first row<br />                                    string orderXPath = " /my:myFields/my:Order" ;<br />                                    XPathNavigator orderMain =<br />                                        this.MainDataSource.CreateNavigator().SelectSingleNode(orderXPath, NamespaceManager);<br />                                    if (orderMain != null)<br />                                        orderMain.AppendChild(newOrderRow);<br />                                }<br />                            }<br />                        }<br />                    }<br />                }<br />            }<br />Deb Myers Asked: Does SP Designer open a new instance of the program with every additional site that is opened?<br />Roberto Taboada (Microsoft) Answered: I believe there is a window for each site, but it is still the same instance of the application.<br />amy molnar Asked: what types of reporting features (powerpivot, mscorecard, sql ) are available with InfoPath / SharePoint 2010?<br />Roberto Taboada (Microsoft) Answered: Nothing InfoPath-specific here. Forms submit data to list and libraries at which point any of several reporting feature can be used to analyze the data. Please refer to the SharePoint Team Blog for more information and discussion.<br />Manish Mangrulkar Changes Question To: Can you please share code for " Add Item" button<br />Roberto Taboada (Microsoft) Answered: We are planning to rebuild the demo on the final bits of Office 2010, but don’t have a concrete ETA yet. However, I can share with you the following code sample built by a member of the InfoPath team. This sample shows code that adds an item to an existing repeating structure:<br />            // Get the empty row from sampledata.xml<br />            // Append the empty row after existing rows, or as the first row in the table.          <br />            using (Stream sampleXMLFile = this.Template.OpenFileFromPackage(" sampledata.xml" ))<br />            {<br />                if (sampleXMLFile != null)<br />                {<br />                    string rowXPath = " /my:myFields/my:Order/my:OrderRow" ;<br />                    XPathDocument sampleXML = new XPathDocument(sampleXMLFile);<br />                    if (sampleXML != null) {<br />                        XPathNavigator newOrderRow = sampleXML.CreateNavigator().SelectSingleNode(rowXPath, NamespaceManager);<br />                        if (newOrderRow != null)<br />                        {<br />                            // append or add row logic<br />                            XPathNodeIterator existingRows = this.MainDataSource.CreateNavigator().Select(rowXPath, NamespaceManager);<br />                            if (existingRows != null)<br />                            {<br />                                if (existingRows.Count > 0)<br />                                {<br />                                    // append as last row<br />                                    XPathNavigator lastRow = this.MainDataSource.CreateNavigator().SelectSingleNode(rowXPath + <br />                                        " [last()]" , NamespaceManager);<br />                                    if (lastRow != null)<br />                                        lastRow.InsertAfter(newOrderRow);                                      <br />                                }<br />                                else<br />                                {<br />                                    // add as first row<br />                                    string orderXPath = " /my:myFields/my:Order" ;<br />                                    XPathNavigator orderMain =<br />                                        this.MainDataSource.CreateNavigator().SelectSingleNode(orderXPath, NamespaceManager);<br />                                    if (orderMain != null)<br />                                        orderMain.AppendChild(newOrderRow);<br />                                }<br />                            }<br />                        }<br />                    }<br />                }<br />            }<br />Ric Comana Asked: Does the People picker print correctly in 2007 it did not print the personl selected?<br />Roberto Taboada (Microsoft) Answered: Yes.<br />Deb Myers Asked: Can we get a copy of the Assemble Document code?<br />Roberto Taboada (Microsoft) Answered: We are planning to rebuild the demo on the final bits of Office 2010, but don’t have a concrete ETA yet.<br />However, the code in the action is fairly simply and just injects the XML collected via InfoPath into a Word document. The blog by Brian Jones and Zeyad Rajabi contains lots of cool information and code sample. Some posts you will find interesting include:<br />Leveraging the Power of Word Automation Services and the Open XML SDK<br />Document Assembly: Merging Excel, PowerPoint, and Word Content Together<br />Brian Jones & Zeyad Rajabi: Office Solutions : Pushing Data from a Database into a Word Document<br />Brian Jones & Zeyad Rajabi: Office Solutions : Adding Repeating Data to PowerPoint<br />Mert Sangar Asked: I do not have access to DB in our sharepoint server. Is it possible to store data from the forms directlly into an excel sheet or do we need to store it as xml then convert to excel?<br />Roberto Taboada (Microsoft) Answered: No way to connect directly to an Excel sheet. You have to do this through a list.<br />John Keegan Asked: Can an Excel file be opened, filled in, saved, etc., from within Infopath? Something like a travel cost reimbursement form designed in Excel but made accessable through Infopath.<br />Roberto Taboada (Microsoft) Answered: No. InfoPath has repeating tables that you can use for this purpose, but you cannot host a previously designed Excel sheet inside InfoPath.<br />Manish Mangrulkar Asked: Can Doccument ID handle multiple forms submitted by more than one person at the same time but provide unique ID?<br />Roberto Taboada (Microsoft) Answered: Yes. It is designed for this purpose. For more information on this service, check out the Enterprise Content Management team blog and this MSDN article.<br />eloi traore Asked: where can I start learning InfoPath 2010 (training materials) Do I need a 64 bit machine to run Infopath 2010<br />Roberto Taboada (Microsoft) Answered: You don’t need a 64-bit machine. The InfoPath team blog is a good resource.<br />Venkatanarasimha KL Asked: Is silverlight can be embedded in Infopath Form?<br />Roberto Taboada (Microsoft) Answered: No, not inside a form. But you can create mashups that include InfoPath and Silverlight web parts. Please check out Nick Dallett’s Academy Live presentation on April 7 on Form-Driven Mashups.<br />Manish Mangrulkar Asked: Where can I see the XL chart webpart?<br />Roberto Taboada (Microsoft) Answered: All web parts can be inserted from the Ribbon when you edit a web part page.<br />Kimberly Sanford Asked: Can one site have multiple document ID styles/formats?<br />This feature operates at the Site Collection level. My understanding is that you can define custom ways of handling IDs. For more information on this service, check out the Enterprise Content Management team blog and this MSDN article. The Enterprise Content Management team are the experts in this area.<br />Jim Zhang Asked: How do you transfer a huge (80,000+) form library from one site to another? In 2007, each infopath form has to re-linked manually and there is no select all option when doing so.<br />Roberto Taboada (Microsoft) Answered: We do have “relink all,” functionality in SharePoint 2010 but there may be default throttling based on the number of items. If this is the case you would need to work with the farm admin to make sure you can override the limit.<br />Michael Perillo Asked: Will InfoPath2010 allow you to create a form using the DB function to create and store data directly to a DB and be able to submit data via a Web Form?<br />Roberto Taboada (Microsoft) Answered: You can connect to a database directly for querying, but in order to submit the recommended way is to use a web service.<br />Please reference the following blog posts on data connections in InfoPath:<br />http://blogs.msdn.com/infopath/archive/2006/06/14/advanced-server-side-authentication-for-data-connections-part-1.aspx <br />http://blogs.msdn.com/infopath/archive/2006/06/27/advanced-server-side-authentication-for-data-connections-part-2.aspx <br />http://blogs.msdn.com/infopath/archive/2006/07/03/655611.aspx<br />Lou Farho Asked: to submit data to multiple lists we would need to use wrokflow?<br />Roberto Taboada (Microsoft) Answered: Yes. You can use workflows to create items in any number of lists. Note that you can have multiple submit data connections to web services and form libraries, for example, just not to lists.<br />Federico Sanchez Asked: hi, where can I download the recording please?<br />Carly-Academy Live Answered Privately: If you have access to the Acadmey Mobile site, the recording and materials will be posted there. If not please refer back to your registration page for materials. Additionally Customers will be sent a follow up email with the recording<br />Federico Sanchez Asked: great, thanks!<br />Laura Radick Asked: Will we receive a copy of this meeting after it is taped?<br />Carly-Academy Live Answered Privately: Customers will receive a follow up email providing the recording, additionally you can refer back to your registration page to access the materials from today's webcast. Also you can get a copy of the slides, just click on the printer icon in the lower right corner of your Live Meeting screen<br />Federico Sanchez Asked: great, thanks!<br />Carly-Academy Live Answered Privately: Thanks for joiniing today!<br />Laura Radick Asked: Thank you<br />Laura Radick Asked: Thank you<br />Carly-Academy Live Answered Privately: Thank you for joining us today!<br />Craig Taylor Asked: do you have any more information on the 'source' parameter used in sharepoint designer to redirect after form completion.<br />Roberto Taboada (Microsoft) Answered: Please see the following article for more details:<br />http://msdn.microsoft.com/en-us/library/ms772417.aspx <br />And note that for InfoPath browser forms, the Source, SaveLocation, XmlLocation, and XsnLocation parameters can all use relative URLs of the form:<br />~site/<relative path within the site><br />~sitecollection/<relative path within the site collection><br />

×