Custom ASPX Form whats the better way - sharepoint-2010

I have developed a portal using SharePoint 2010 (Standard Edition). I want to develop a Master-Detail "Requisition" form using Visual Studio 2010. I don't want users to access the List and click on "Add New" to access the form. I want to create a link on portal's homepage like "Requisition Form" when user will click on the link it should open the form right there.
Should I create a Visual WebPart ..then create new page and embed the webpart there? or should I develop WebPart Page..I've never done webpart page so what's the better approach? and to Edit the page do I need to create another Visual part with Gridview control and fill currently logged in user's Requisitions including Item ID and pass it on to MyCustomRequisitionEditForm.aspx ?
Please advise.

Why don't you customize standard new form of the list with Sharepoint Designer or InfoPath? You can create a link to this form on the homepage of your portal.

Related

Read only view using sharepoint designer 2010

I have to create a read only view using SharePoint Designer 2010.
When user submits the form it has to switch to that read only view.
Could some one suggest as to how to make the view read only and also to switch between views using SharePoint Designer 2010.
Thank You
You can create the form in infopath and create same views of your form:
http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
and activate the version control in the list
http://www.youtube.com/watch?v=HUDRfhcL18U

Custom Menu in SharePoint 2010

I am working with SharePoint 2010. I am looking for creating a custom menu that could be placed on Master page of my site collection. Could you please give me a start on this. I don't want to use existing menus on default master page. I would rather like to have my own master page with my custom menu links with sub menus.
A basic idea would be that I will have a XML file with menu items defined I want to give liberty to the user to make changes to XML file somehow that add/edit or remove the links. Also I want the menu to be user role based (Items could be disabled for unauthorized users).

Creating and deploying infopath forms in in sharepoint 2010 form libraries

I have created infopath form library in SharePoint sever2010. I am using Windows server 2008R2 OS and MS-Office 2010. When i clicked on "Add new document" in form library, it is asking a .xsn template.
I created a template using infopath 2010 and assigning to it.
But it is saying that:
The element 'comment' is used but not declared in the DTD/Schema..
I tried to publish it by using Infopath 2010, it is saying that :
The element 'comment' is used but not declared in the DTD/Schema.
again.
Can any one explain the procedure how to solve these errors....
This error could occur if:
The template you created with InfoPath designer is not published to SharePoint - therefore when you click New -> New Document, you are asked to provide a template to use. Now if you supply any arbitrary template, you will get this error.
You can try following steps:
Publish the template you created to sharepoint Server. Check 'Enable this form to be filled by browser'.
You said very simple template so I am assuming there is no custom code associated.
Select publish to form library. Create a new form library, if not already done so; else use existing form library.
If you create new Form library from InfoPath, things are easy, when you click on 'new document' in your 'form library', you will see the form in browser.
If you publish to existing Form Library then follow these steps:
In your form library click settings -> Advanced settings.
Select 'Yes' for 'Allow management of content types?'.
For 'Default open behaviour for browser-enabled documents:'
Select Use the server default (Open in the browser).
Click Ok.
Back on the settings page you should see: 'Add from existing site content types' in the 'content type' section. Click it and on the ' Add Content Types' page select group 'Microsoft Office Infopath' or 'Microsoft Infopath', which ever your content group is, and you should see the name of your form. Add this and click ok.
Back in your Form Library, you should see two InfoPath forms on your New button.
Well that's that, you can get rid of one of them.

How do you embed a form in SharePoint 2010

I would like to have a feedback form embedded on the homepage of my sharepoint 2010 site. I've created said form using InfoPath and have published the form to the site. However when I add the form as a webpart on the page it appears as link like it's another document, and you can only complete the form when you click the link.
How can I embed the form on the actual web page?
Thanks in advance!
Have you embedded the infopath form in the SharePoint Infopath webPart ?
http://www.bizsupportonline.net/infopath2010/embed-infopath-form-sharepoint-2010-web-part.htm

SharePoint 2010 custom display form like publishing page?

I want to display a list item in a different detail page, not dispform.aspx, not in modalbox. Page must be inherit site masterpage, layout page and must be in portal sitemap like publishing page.
Breadcrumb must be like this:
Company Intranet > Announcements > Product request formm updated!
Is there any way for do that?
Chaning the System Master to publishing master page will render all the forms with Same UI as you see in Home page.
You can change it in this Location http://yousite/_layouts/ChangeSiteMasterPage.aspx You have to do this in site where you what to see this change.
To Prevent the popup forms Go to List Settings->Advanced Settings and turn off the Dialog.
Also to change default Form of List you have multiple forms
Create a New Form (Link is for 2007 same applies for 2010 as well) in SharePoint Designer and Associate it to the List.
Use Infopath to create a Custom Form
Develop a new Webpart that will do Add Edit etc and Add it to the Default Forms.