Showing posts with label sharepoint 2010. Show all posts
Showing posts with label sharepoint 2010. Show all posts

Thursday, July 12, 2012

How to Create Form Library for Publishing Site in Sharepoint 2010


when i create a site collection without creating the root  in the web application

for example i have my publishing sharepoint site with this url

http://sp2012:33333/sites/MyPublishingSite/

Since this is a publishing site, by default, the InfoPath form service and Form library had been disabled. when i try to create a form library to store all the InfoPath form that I created for this site.

First i need to activate the Site Feature. Click on the Site Setting from the Site Action drop down menu.


then click on the Manage site features in the Site Actions Section.



then click on activate button to enable the Form Library in the publishing site.

After i successfully create the form library, then i want to publish the InfoPath Form to the library that i had created. when i launch the publishing wizard in the InfoPath 2010.



However I always encounter the following Error Messages.

when i use the root of the web application as the location Sharepoint or InfoPath Forms Service site.
then i will get this error. the root cause of this issue is that the root did not create after the web application is instantiate, since I only create a sub site collection under the sites



when i use the sub site to host the InfoPath form, i received "the following URL is not valid" error message. the root cause of this problem is that the InfoPath form can't be host on any sub site that the root site not being created.



after i google the web, the following link really help me figure out the root cause of all the issue.

Publishing Infopath To SharePoint: "the following url is not valid" Error

Wednesday, June 6, 2012

How to show all WebPart Including Hidden WebPart in Web Part Page Maintenance in Sharepoint 2010

When I edit a Web Part page layout, i accidently remove those webpart from the page. (here i did not delete the webpart by selecting the Delete WebPart in the chrome Menu)

then i try recreate a new identical webpart, i realize that the title of the webpart had been automatically
change to My Web Part Title[2], the change was triggered by the system, since the previous web part actually was hidden in the page after i decide it from the page.

in Sharpeoint 2007, we can retrieve those hidden WebPart by following these steps

  1. from Site Actions Dropdown menu select Edit Page.
  2. Click on Add a Web Part
  3. Click Advanced Web Part gallery and options
  4. Click on Closed Web Parts
  5. Drag closed web part onto the page.
  6. Now you can closed the webpart you do not need it any more.

However in Sharepoint 2010, we can not find  "Advanced Web Part gallery and options" in the toolbar ribbon, actually all the webpart had been stored in the web part maintenance page.

the link to web part maintenance page should looks like this

http://MySite/MySubsite/MyPage.aspx?contents=1



then we can modify the status of each webpart.