Add Category in Site Definition

Is there a way to add a new Category in the "Advanced"
section of the Site Definition?
I have written an extension and would like to have additional
configuration options for th extension for each site definition. Is
there a way to have an extension store information along witht he
site information and display a UI in the site definition dialog so
a user can configure the options?

"ryanmhuc" <[email protected]> wrote in
message
news:fgj3vh$qbh$[email protected]..
> Is there a way to add a new Category in the "Advanced"
section of the Site
> Definition?
>
> I have written an extension and would like to have
additional
> configuration
> options for th extension for each site definition. Is
there a way to have
> an
> extension store information along witht he site
information and display a
> UI in
> the site definition dialog so a user can configure the
options?
No I don't think there is a way to do that, what I've done in
the past is
add an option to the Site menu, have it display it's own
Command dialog and
save the settings in the site design notes.
Joris

Similar Messages

  • Show a WebPart view in a visual studio site definition

    Hi Guys ,
    i developed a Site definition in VS. In this Definition i have a list instance  based on Promoted link template (type 170).Now i want to show in the Deafault.aspx a view of the promoted link but when i put the snipet
    <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="full" Title="loc:full">
    <WebPartPages:XsltListViewWebPart runat="server"
    ListUrl="Lists/List1"
    IsIncluded="True"
    JsLink="clientTemplate.js"
    NoDefaultStyle="TRUE"
    PageType="PAGE_NORMALVIEW"
    Default="False"
    ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    </WebPartPages:WebPartZone>
    the server respond me  : ..Type 'Microsoft.SharePoint.WebPartPages.WebPartZone' does not have a public
    property named  'XsltListViewWebPart'. I added
    <%
    @RegisterTagprefix="WebPartPages"Namespace="Microsoft.SharePoint.WebPartPages"Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
    but it doesn´t work..
    Any suggestion?

    Hi gohberto,
    Before <WebPartPages:XsltListViewWebPart> tag,you can add <zoneTemplate>
    Here is a code snippet for your reference:
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main">
    <ZoneTemplate>
    <WebPartPages:XsltListViewWebPart runat="server" ListUrl="Lists/My List" [abbreviated...]>
    <XmlDefinition>
    <View Name="Some View" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="" Url="View.aspx" Level="255" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
    <Query>
    <OrderBy>
    <FieldRef Ascending="FALSE" Name="ID"/>
    </OrderBy>
    </Query>
    <ViewFields>
    <FieldRef Name="ID"/>
    </ViewFields>
    <RowLimit Paged="TRUE">1</RowLimit>
    <Aggregations Value="Off"/>
    <Toolbar Type="Standard"/>
    </View>
    </XmlDefinition>
    <DataFields>
    </DataFields>
    </WebPartPages:XsltListViewWebPart>
    </ZoneTemplate>
    </WebPartPages:WebPartZone>
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/7740935e-d4d7-46f8-9dac-09b9c46855c6/type-microsoftsharepointwebpartpageswebpartzone-does-not-have-a-public-property-named-webpart?forum=sharepointcustomizationlegacy
    Best Reagrds
    Zhengyu Guo
    TechNet Community Support

  • Create a Site Definition file with Visual Web part in Visual Studio

    I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial:
    Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and registered MyWebPartControls in the site definition's default ASPX page as written in the MSDN tutorial:
    Unfortunately, IntelliSense doesn't show any MyWebPartControls: tags, and VisualWebPart1 is highlighted with a warning “Element 'SMWebPart3' is not a known element. This can
    occur if there is a compilation error in the Web site, or the web.config file is missing.”
    Since it’s a warning, I went ahead to build and deploy the solution. However, when I used the site definition template to create a subsite, it returned a parser error:
    Unknown server tag 'MyWebPartControls:TestSiteDef1.VisualWebPart1'
    I spent half day researching and debugging, and finally solved the problem. The issue is on the registration line:
    <%@ Register Tagprefix="MyWebPartControls" Namespace="TestSiteDef.VisualWebPart1" Assembly="$SharePoint.Project.AssemblyFullName$" %>
    The $SharePoint.Project.AssemblyFullName$ is a replaceable parameter to provide values for SharePoint solution items whose actual values are not known at design time. Unfortunately, it does not find the right assembly name during the deployment. It should
    be replaced by the Assembly’s Strong Name. Here is how I fixed the problem step by step:
    In Solution Explorer, open the package node and double click Package.package
    Click Manifest tab in the Package.package.
    Copy the full assembly name in the package’s manifest. It may be similar like this:
              Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Back to the site definition’s default.aspx page, replace the
                     Assembly="$SharePoint.Project.AssemblyFullName"
    in the registration line with the copied text:
    Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Change the Namespace from
    Namespace="TestSiteDef.VisualWebPart1"
    to
    Namespace="TestSiteDef".
    The line to register the web part in a site definition file will look like this:
    <%@
    Register
    Tagprefix="MyWebPartControls"
    Namespace="TestSiteDef "
    Assembly="TestSiteDef, Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    %>
    Clean, build and deploy the solution. It works like charm. (Note: the warning message on visual web part may still exist, but you can ignore it).

    Assuming your .ascx.vb file is inheriting from the web part class, you can add the custom properties in the same manor (language syntax aside).
    Be sure to use the attributes to correctly identify and scope the properties. (see:
    http://www.sbrickey.com/Tech/Blog/Post/SharePoint_Attributes_for_Web_Part_properties)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com

  • How to add a new SIT in HRMS?

    How to add a new SIT in HRMS? Can I do it using Other Definitions?[i] What is the navigation for it?

    1. Create Personal Analysis Key Flexfiled as per your requirement thru System Administrator
    2. Register / Select the Pesonal Analysis KFF in SIT form under other definitions.
    Navigation: HRMS responsibility => Other Definitions => Special Info Types
    3. Select your Personal Analysis KFF from LOV and select the check boxes in whichever the form you want to use this SIT. (Ex: People form, Job form or Position form etc..)

  • To decide save site as a template, web template or site definition

    hi,
    I have to create a generic site template which has few tabs in the home page and on click of these links/tabs
    in this site template it will navigate to the sub sites created under that[this generic site template shud contain 3 sub sites -
    [1 blog, 1 search center sub site, meeting workspace as tabs in the site template’s top navigation] and
    a) 2 Doc Libs
    b) 2 splists by default present in this site template [ most prob. its a team site template]
     What should be the correct approach for creating this site template:
     I have thought of implementing using:
     a) save site as a template and upload this wsp into the solution gallery. and based on this site template
    i will create new subsites. one problem i will be facing is that, mine is a publishing site template not team site template.
     b) create a  web template having the above subsites and doc libs and splists
     c) last option is to create a  site definition [ complex ]
    which one should i choose, assuming that, there would be future changes from customer side in the
    site template.like, adding a new splist, sp doclic or a new custom web part.
    in that case, adding a new addtion to the already existing site template will not affect/reflect the already running
    sites' content.
    only those new sites which is created  based on the updated site template would be having the new additions 
    implemented.
      help is highly appreciated.

    Hi,
    From your description, the most concern you might have is that customers will have the requirements to add other components into their sites and created with them afterwards.
    Since SharePoint 2010, it is recommended to take use of something like “a la carte” pattern to manage SharePoint sites. If there are needs to add sites, lists or other components,
    we can make them as solution(.wsp) and deploy to our sites. By doing this, we will be more flexible and easier to manage the features and structure of sites.
    So you can just create a site template with simple structure and deploy the solutions you want after sites created.
    Here are two links about
    Plan for sites and solutions for your reference:
    http://technet.microsoft.com/en-us/library/cc789336(v=office.14).aspx
    http://technet.microsoft.com/en-us/library/ee476993(v=office.14).aspx
    What’s more, you can take a look at the two links below about
    Custom Web Templates and Custom Site Definitions:
    http://msdn.microsoft.com/en-us/library/office/aa979683(v=office.14).aspx
    http://sharepointchick.com/archive/0001/01/01/site-definitions-vs.-webtemplates.aspx
    Thanks
    Patrick Liang
    TechNet Community Support

  • Site Definition Requirements to use Spry

    What do my site definitions need to be set at to use Spry.  I am using both DW 4 & 5.
    Thanks

    Thank you Murray,
    Now a bit more detail.  I currently manage a site that has been around for a long time.  When I try to use spry accordian within that site (in a new or existing shtml document), the accordian features don't work properly (panel tabs and content are not distinguishable - just a list, and he tabs do not expand).  If I save an existing or create a new shtml page to my desktop, and add spry accordian there, then save back to my original site, no problem.  Adobe tech support told me that it was a problem with my "definitions" file.  Any clues to what my problem is?
    Best Regards....

  • Site Definition with Custom List Intance with Custom fields

    How to create VS 2012 > Site Definition with Custom List Instance with Custom fields?
    <site>
    <list>
    <field>

    Hi Sunil,
    it is the same way we create in VS 2010.
    Add a new empty SP project in VS2012 and then add, site, list and fields as per your requirement.
    Here are few references-
    Creating SharePoint 2010 Site Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276356(v=office.14).aspx
    Creating SharePoint 2010 List Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276355(v=office.14).aspx
    Walkthrough: Create a Basic Site Definition Project
    http://msdn.microsoft.com/en-us/library/ee231583.aspx
    and  I normally create a blank site with all required configuration and then create, import the template to hand craft the list and fields. this would minimize errors.
    see the below blog on this topic
    http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Regarding the Site Definition in Sharepoint 2010

    Hi Forum,
    I am working on sharepoint 2010,
    I created SiteDefinition through visual studio in Sharepoint 2010, after deploy in sitedefinition.
    I got new features to add in that existing sitedefinition.Can you please tell me how to proceed.
    I am thinking i can use FeatureStapling or any other way?
    please assist me regarding this issue.
    Rama

    Hi Rama,
    Feature Stapling  is the great way if the site definition is already in use (and sites have been created).
    The following articles for your reference:
    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx
    http://www.codeproject.com/Articles/626731/Feature-Stapling-in-Sharepoint
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Changing remote site definition

    I am changing the domain name of my site but keeping my sites
    design completely the same. After I buy the new the domain name,
    how do I Change the Remote site definition in Dreamweaver 8 to use
    a new site's connection info??
    Can someone give me the steps?
    Thanks so much!!!!!
    Ryan

    > I am changing the domain name of my site but keeping my
    sites design
    > completely
    > the same. After I buy the new the domain name, how do I
    Change the Remote site
    > definition in Dreamweaver 8 to use a new site's
    connection info??
    Question:
    Is the hosting changing? or just the domain name?
    If just the domain name-
    At the domain name Registrar's control panel, set the new
    domain name up
    with the DNS domain name server of your current hosting.
    At your hosting- you'll need to add this new domain name to
    their DNS name
    servers also. Either through a hosting control panel or
    through a
    trouble-ticked to their help desk.
    There will be no need to make any change to the site
    definition in
    dreamweaver, unless you change hosting to a different remote
    server.

  • Xyz.xyz, OK, Site definitions issue

    I've had this issue since Studio 8, and even with Studio 8
    uninstalled completely, and with a fresh DW CS3 install, the
    xyz.xyz issue is still haunting me.
    When I go to add a new site, and get to the site definitions,
    I click to select "local folder" for the files - it always shows:
    File Name: OK
    Save as Type: xyz.xyz
    and when I browse to the folder I want my site in, it never
    updates. It simply shows /
    You can see the image here:
    http://www.creationnation.com/dwcs3xyz.jpg
    I can manually type in the location and it does fine, just
    doesn't let me browse to the location.
    If anyone can help me out I'd appreciate it!

    Tell us EXACTLY the steps you follow to get to this point,
    starting from the
    Site manager, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Creation Nation" <[email protected]> wrote
    in message
    news:f8tsvo$b3t$[email protected]..
    > I've had this issue since Studio 8, and even with Studio
    8 uninstalled
    > completely, and with a fresh DW CS3 install, the xyz.xyz
    issue is still
    > haunting me.
    >
    > When I go to add a new site, and get to the site
    definitions, I click to
    > select "local folder" for the files - it always shows:
    >
    > File Name: OK
    > Save as Type: xyz.xyz
    >
    > and when I browse to the folder I want my site in, it
    never updates. It
    > simply
    > shows /
    >
    > You can see the image here:
    http://www.creationnation.com/dwcs3xyz.jpg
    >
    > If anyone can help me out I'd appreciate it!
    >

  • Dreamweaver CS6 will not recognize existing site definition files

    Neither does CC, naturally.  These are sites I haven't edited for about a year. I can't find any information about reloading sites by importing the contents, only by opening the STE files... which in this case, won't open.

    Are you attempting to simply open the .ste, or are you going to Site > Manage Sites > Import?
    If you are tring to import them correctly (second option above) and they aren't importing, the .ste files may be corrupt. To create new site definitions from your existing content...
    1. Go to Site > New Site
    2. For the "Local Site Folder" browse to one of your current site folders on your HD
    3. Add a server and FTP credentials obtained from your hosting company (if you don't have them)
    4. Save
    5. Repeat for each site
    EDIT: If you don't have the site's files locally, do the same as above (setting the local site folder to an empty folder on your HD) and, once you add the FTP info, click the Get button (down arrow) in the Files window to download your entire site onto your machine.

  • Dreamweaver CS6 does not connect to Business Catalyst: Retrieving site definition..

    Hello,
    I have been attempting to use Business Catalyst but cannot get it to work with Dreamweaver CS6.
    When I create or import a BC site the process gets stuck at "Retrieving site definition..". I thought it might take a while and left it overnight. When I woke up this morning it was still stuck.
    Does anyone know why this is happening?

    I contacted support about this, and I was told that Business Catalyst in Dreamweaver is 'End of Life'
    see quote:
    Hi Ryan,
    Thank you for reporting the concern.
    Business Catalyst Add in of Dreamweaver is end of life now, however you can use steps given in this article to connect your BC site with DW:
    http://docs.businesscatalyst.com/user-manual#!/site-design/bc-and-dreamweaver/connect-to-y our-site-using-dreamweaver
    Does this mean Dreamweaver is End Of Life?

  • Dreamweaver CS6 does not connect to BC: Retrieving site definition..

    Hello,
    I have been attempting to use Business Catalyst but cannot get it to work with Dreamweaver CS6.
    When I create or import a BC site the process gets stuck at "Retrieving site definition..". I thought it might take a while and left it overnight. When I woke up this morning it was still stuck.
    Does anyone know why this is happening?

    Are you attempting to simply open the .ste, or are you going to Site > Manage Sites > Import?
    If you are tring to import them correctly (second option above) and they aren't importing, the .ste files may be corrupt. To create new site definitions from your existing content...
    1. Go to Site > New Site
    2. For the "Local Site Folder" browse to one of your current site folders on your HD
    3. Add a server and FTP credentials obtained from your hosting company (if you don't have them)
    4. Save
    5. Repeat for each site
    EDIT: If you don't have the site's files locally, do the same as above (setting the local site folder to an empty folder on your HD) and, once you add the FTP info, click the Get button (down arrow) in the Files window to download your entire site onto your machine.

  • Backing up and restoring site definitions

    Losing your site definitions in Dreamweaver can be a disaster, but it does happen sometimes. The best way to prepare for such an eventuality is to back up your site definitions on a regular basis.
    Creating a backup
    You can back up all your site definitions in a single operation by selecting Site > Manage Sites. In the dialog box that opens, Shift-click to select all site names, and then click Export.
    In Dreamweaver CS6, the Manage Sites dialog box looks like this:
    In earlier versions of Dreamweaver, it looks like this:
    Dreamweaver asks if you want to include passwords and login details (this is the default option). Whichever option you choose will be applied to all sites, so click Cancel if you want to treat some sites separately, and export your sites in two sets by using Ctrl/Cmd-click to select them.
    When you click OK, Dreamweaver asks where you want to export the definitions. Navigate to a suitable location, leave the File name field unchanged, and click Save. Although only one site name is listed in the File name field, Dreamweaver exports all the site definitions as .ste files in a single operation.
    NOTE: This process backs up only the details of your sites, such as the location of the root folder, FTP details, and so on. It does not back up the actual files in your site, such as .html (or .php, .asp, .cfm) files, images, and style sheets. It's a good idea to use your normal file backup routine on your actual files from time to time, as well as exporting the site definitions.
    Restoring site definitions
    In the event of losing your site definitions in Dreamweaver or moving to a new computer, open the Manage Sites dialog box, and use the Import button to navigate to your backup .ste files.
    What if I don't have a backup?
    Often, if you don't have a backup of .ste files, you need to go through the whole process of re-entering the details for each site manually.
    However, you might be able to restore them by using a restore point on Windows or Time Machine in Mac OS X.
    On Windows, the site definitions for Dreamweaver CS6 are stored in the Windows Registry at HKEY_CURRENT_USER\Software\Adobe\Common\12.0\Sites.
    In Mac OS X, they are at Macintosh HD:<username>:Library:Application Support:Adobe:Common:12.0:Sites:Site Prefs.
    In recent versions of Mac OS X, the Library folder is hidden. In the Mac Finder, select Go > Go to Folder, type ~/Library in the search field, and click Go.
    Dreamweaver CS5.5 site definitions are in the same location, except use 11.5 instead of 12.0. The numbers for CS4 and CS3 are 10 and 9 (without a decimal fraction) respectively. For earlier versions of Dreamweaver, substitute Macromedia for Adobe, and adjust the number accordingly.
    If you don't have a backup of the actual files on your site, download the files from your remote server.

    Hello,
    We are running iPlanet 5.2 Messaging Server and need
    to migrate to another (duplicate) 5.2 Messaging
    Server. We have all the software installed and the
    LDAP user accounts created. Now we just need to move
    the existing mail from one server to the other.
    I found the Backing Up and Restoring the Message
    Store section in the Admin Guide says to back up and
    restore your data, Messaging Server provides the
    imsbackup and imsrestore utilities.
    However I am wondering about the Queue?
    Under <instance>/imta/queue
    What is the difference between the Message Store
    and the Queue? The Message Store is where messages get delivered to, so you can read them.'
    The queue is where messages are temporarily stored, pending delivery to wherever they go.
    You can use tar, cpio, or what have you for the queue. Stop the server first. . .
    You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
    imsimta cache -sync
    to tell the MTA to re-read the queue.
    Can I just backup and restore the
    Queue using tar or cpio?
    Thanks in advance for any advice.
    Regards,
    Tim

  • How do I add a web site to Apple Tv?

    How do I add a web site to Apple Tv?  Does the site need something special like for adding radio stations?

    You can't add content to Apple TV. You will have to use airplay (from a compatible site) or mirror (using a compatible device)
    http://support.apple.com/kb/HT4437?viewlocale=en_US&locale=en_US
    http://support.apple.com/kb/ht5209
    http://support.apple.com/kb/ht5404

Maybe you are looking for

  • Dynamic attachment name with receiver mail adapter and use mail package

    We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload). I could probably do this using the adapter module (as per the following lin

  • Iphone 3g No Service

    OK now I have a weird problem, So I got my Iphone 3g on the 23rd of December, its been working perfectly, no problems at all, couldnt be happier, then all of the sudden, I turned it on this morning, was fiddling with maps, and all of the sudden it sa

  • Subvi containing controls should use already existing window

    Hello, I am building a User Interface that has several levels (main vi, several second and third level subvis. The second level subvi contains controls, so it opens a new window when called, but it should clear the already existing window of the main

  • Turned browser on this am, and opens in Japaness language.reinstalled same problem.

    ''Turned on computer this am(2-17-2011) and opened Firefox and everything in Japaness. Had to manually chage the address bar and add correct address. Finally uninstall Mozilla Foxfire from the computer. When I reinstalled the same problem continues t

  • Exporting a .mov below 25MB for email? With some quality?

    Is there anyway to set the size limit of an exported quicktime movie? I need it to be 25MB or below but still have some quality to it. And if there is can you please walk me threw it? Again, thank you.