Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Area template...

  Asked By: Stella .net         Date: Sep 11, 2009      Category: Sharepoint      Views: 363
 

I too am trying to create a area template.

I tried this article but it didnot work.

http://www.msd2d.com/Content/Tip_viewitem.aspx?
section=SharePoint&category=Development&id=bf97292f-7bdb-47a2-bfb8-
5ca8062bc1bd

does anybody know how to go about this?

Tagged:    

 

7 Answers Found

 
Answer #1       Answered By: Lynsey Carver          Answered On: Sep 11, 2009       

looks like I have not posted my question right.

I want to be able to save an Area as a template  so that I could use
it to create  future Area using the same template.

I tried all these post:

http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?
section=Sharepoint&category=Development&id=35ac0159-ae53-47b6-b97a-
0bb3d4c3d38d

http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?
section=SharePoint&category=Development&id=bf97292f-7bdb-47a2-bfb8-
5ca8062bc1bd

http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?
section=Sharepoint&category=Development&id=e9c57bcd-5118-4787-827f-
7db354f4c363

http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?" target="_blank" rel="nofollow">http://www.msd2d.com/Content/Tip_viewitem.aspx?
section=Sharepoint&category=Development&id=79325d76-8b04-4181-aa26-
9d481857730c

I was not successful.

I am sure people have been very sucessful in saving an Area as a
template.

 
Answer #2       Answered By: Richard Allen          Answered On: Sep 11, 2009       

Did you issue a IISRESET on the server after making changes to the XML
files?

 
Answer #3       Answered By: Ian Davis          Answered On: Sep 11, 2009       

I did restart the IIS and then also went ahead and restarted the Server, but no
luck.

I could find only the default seven Area templates in the template  section.

were you sucessful with the same.

 
Answer #4       Answered By: Jagjit Hui          Answered On: Sep 11, 2009       

The solution is to change the value of


_locID@Title="webtemp_title_spscommu0"

_locID@Description="webtemp_desc_spscommu0"



To something like

_locID@Title="webtemp_title_spsmcwevents0"

_locID@Description="webtemp_desc_spsmcwevents0"

Just issue IISRESET, no need to restart the server

 
Answer #5       Answered By: Alton Vance          Answered On: Sep 11, 2009       

Thanks a ton it did work, now I need to figure out how to add some webparts to
this template.

is it rightly mentioned in the MSD2D document?

 
Answer #6       Answered By: Sydney Lewis          Answered On: Sep 11, 2009       

This gets more complicated, you need to change onet.xml file stored
under the XML folder of your template

Modify the tag <module> <file url="default"> and add a line for each web
part

<AllUsersWebPart ...../> your web part information </AllUsersWebParT>

The best way is to export your web part and copy the web part definition
file

 
Answer #7       Answered By: Jayme Raymond          Answered On: Sep 11, 2009       

Yes Indeed this is getting more complicated, looks like I am getting lost....

I know I am asking for more, but could I have a small example of how to go about
this?

I have never worked with this ONET.XML file...

 
Didn't find what you were looking for? Find more on Area template... Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].