Custom Form Template Issues WSS

spevilgenius
  • Custom Form Template Issues WSS spevilgenius

    This is mainly a verification question as I have been fighting with an issue for a couple of days now. I have two lists derived from 2 custom content types. Both content types used the task base content type. Each of the derived content types have custom form rendering templates. I am using a custom usercontrol with codebehind added to the .ascx page as a control to redraw the forms differently. One of these forms renders without issue and the rendering template loads along with my control. The other list and its template will not load following the exact procedure as the first one. What I mean is that the link will carry you to the newform.aspx page and it will load the listform webpart as I can see it when I view source. It is just not loading the template I asked it to load just like I did on the other form. I am wondering if it is because both lists share the same type number (107) or if it might be something else. So does each list need to have a custom type number or does that not really matter? I ask because I can change the content type of the nonworking one to use the same template as the working one and it will load just fine.

    UPDATE: I tried changing the type and even changed the content type and redeployed the entire solution. There is no error message but it does not load the rendering template from the controltemplates folder. I can see that it is there and I can see that the content type should be loading it, but it does not. The other one as I said laods and works correctly.

  • Sometimes when everything looks like it should work and it does not then there is something else going on. It turns out that in my case, my solution was corrupted somehow. I restored from a recent backup and then added the rendering template back and it worked just fine. Feel free to delete or keep this in case someone else has the same issue.

Tags
custom-form rendering-template wss-3.0
Related questions and answers
  • my CAML in Visual Studio to match my changes. I want to do this because I am creating custom fields and content types for my project and want to create a solution with these customizations. Since there doesn't seem to be a way to do this (create custom fields and content types) as a solution using SharePoint without putting them into a list, I am using Visual Studio and CAML for this. I also want to use Visual Studio and CAML so that I can put these CAML xml files in source control so that I can version my custom fields and custom types. I have tried using tools like http

  • collection owners group for the workflow to complete successfully. This poses a permission issue since I am setting item level permission and granting Read permission to the creator once the form is submitted for approval. But the workflow is progressing only if the creator is given Full Control for the Forms library as well as the list item. I've three levels of approval. Both the approvers and the creator need to have Full Control on the Tasks list and the Forms library. This also poses a permission issue to give Full Control to the approvers and creator. Does any one know as how to impersonate

  • So I did create on an SPWeb 20 custom lists and then a tasks list. For each of those 20 lists I've created 20 site lookup columns. I then created 20 Content Types based on Task content type. Then I've added each content type to the Tasks list. After that I've added each lookup site column to the corresponding list content type. So far so good. I've built a custom WebPart that displays task items...); Update: I've built a C# console app which creates all lists / lookup columns / content types and add the lookup column to corresponding content type. Result: same thing, same magic number 13. Anyone

  • . Scoped to Site. Registration: contains a ListTemplate and a ListInstance that just modifies a basic Custom List to enable content types and add my custom content type. Scoped to Web. Here's what's... as expected. When I try to add a new item to the list, the list form only shows the Title field from Item. Now, here's the weird part. If I add a second content type to the list (through the UI), the list form suddenly works correctly. This makes me think there's something wrong with my content type. Here's what I'm working with. Some names have been changed to protect the innocent. <ContentType

  • " maxRequestLength="104856" /> After searching I found https://stackoverflow.com/questions/1580085/show-webpage-has-expired-on-back-button. Well, obviously I cant use GET because I am developing a web part NOT a page. Also, it is not possible to oblige the clients to change their forms from POST to GET just to use my little web part (I think you understand me). I put a breakpoint inside the web part and tried to reproduce the same error. The results: it doesn’t hit the breakpoint. Also, I checked the EventViewer and no errors there. Please help me out in this issue, note that my control

  • only site collections/sites using non-publishing templates. All other content is availble e.g. documents, lists Has anyone else come across this? UPDATE 08/05/10: I have been doing some further... in the index under the contentclass:STS_Site and the sites (SPWeb's) are contentclass:STS_Web. The following people seem to have come across this issue and assumed it was just a limitation. I think... have observed to exhibit this 'bug' is: a site collection or site is based on a publishing template (can be built-in e.g. collaboration portal or custom site template) SharePoint 2007 with updates

  • A common issue with my customers is that they define a number of content types that should be available on a document library. That library is part of a custom site template and pretty soon we'll have 200 sites using that template. Now the customer realize that they need two new content types on that library. Oh, and they will need those content types on the existing sites as well. I might have misunderstod something about content types or just misconfigured the library, but so far the only way I have been able to add those new content types on existing sites have been through a powershell

  • Using WSS 3.0 running on SBS2008. I have an Infopath form library, to which I have used SharePoint Designer 2007 to attach a custom workflow. It's a pretty normal workflow which updates a property in another list based on a lookup. I have two users, call them Jane and John. Jane is a member of several SP groups, one of which has Full Control permissions. John is a member of a couple of SP groups.../. I have contradictory observations: When John adds an item to the library while working from W2, the workflow is initiated but goes to Stopped status, and the other list is not updated. When John

  • but only exists for that department. I had several ideas but wondered which one would be the best. Create the 3 Types as 3 seperate content types derived from the task content type. Create a single list attaching these types to the list and then create folders for each department. Use groups to control the permissions. Create a list that derives from the task list or make a custom list. Create... to and apply the permissions at the item level. Create a separate list for each department and add the content types to each list. This seems rather crude as reporting would be more difficult. Does anyone have

Data information