How to apply metadata to sharepoint site collection

Hello,
We have almost 1000 teamsite and we are working to arrange those according to department and site admins. So requirement is Let say if the HR department has 10 team sites, those 10 team site's department should be marked as "HR". Now how can we
achieve this? I know we can create the term set in the Managed Metadata service application with all the departments but then how we can relate those terms to site collections? Also it should come up in the search as well. So we I do I search for department
HR, I should get all 10 sites. Please share your thoughts
Thanks in advance.

Hi!
Look at the article - it seems will be an ideal solution for your task. I hope it will work or can be easily patched for SharePoint 2013:
http://blogs.msdn.com/b/maximeb/archive/2010/08/16/adding-metadata-to-your-site-collection-for-a-complete-secure-refinement-enabled-site-directory-on-sharepoint-2007-and-sharepoint-2010.aspx

Similar Messages

  • Definition of Status property of a SharePoint Site Collection

    Hi community,
    when getting a site collection via a PowerShell command (Get-SPOSite / Get-SPSite), it returns a property called "Status" among others, which in my case is always "Active". But for what is it good for? I didn't find any definition of this
    property, neither via search nor via MSDN.
    What values could this property have and how does a different status than "Active" influence the behavior of this site collection (is it still accessible, ...)?
    Many thanks in advance and best regards
    Christian

    Hi Steven,
    thank you for this quick reply. Sorry for providing only a few information on that.
    I'm currently working with SharePoint 2013 Online (Office 365). The PowerShell cmdlet Get-SPOSite return a few properties of a site collection, e.g. Status, LockState, Url, Title, etc.
    $allSiteInformation = Get-SPOSite -Limit all -Detailed | Select Url, Title, Status, Template, LockState, Owner, LastContentModifiedDate, WebsCount, StorageQuota, StorageUsageCurrent, ResourceQuota, ResourceUsageCurrent, ResourceUsageAverage
    I know the purport of LockState, but I can't imagine what additional information will be the "Status" property returned by this script, in my case it alway states "Active". I assume that there is also a value "Inactive", but I don't know how respectively
    for what reason a site collection will transition into that status.
    I placed this common question because I thought that this property exists also in SharePoint 2013 On-Premise, but I don't know.
    I hope now it is a little bit clearer. Thanks and best regards
    Christian

  • How to get the list of site collections in wss 2.0 and wss 3.0

    Hi,
    How to get the list of site collections in wss 2.0 and wss 3.0
    Please provide related articles to me
    Thanks in advance

    Use 11 for wss 2.0 and 12 for wss 3.0
    Go to :\Program Files\Common Files\Microsoft Shared\web server extensions\11\BIN\”
    stsadm.exe -o enumsites -url <root url>
    to get the list  of site collections and 
    stsadm.exe -o enumsubwebs -url <root url>
    to get the list of sub sites.
    http://support.microsoft.com/kb/832807
    http://ServerName/_layouts/1033/Siteusrs.aspx to manage permissions

  • How to set permission levels per site collection

    Hello,
    A site collection would have 700 sites , with the same (new) permission levels. Is there a way (apart from programming) to copy these permission levels?
    Thank you.
    Christos

    Hello,
    Check this link
    http://social.technet.microsoft.com/Forums/en-US/bdb82f15-6d9c-47b3-b511-f8e019347895/how-to-set-permissions-to-list-item-sharepoint-programmatically
    Thanks!

  • Error importing SharePoint site collection - "there is an error during importing the Roles tag"

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

  • How to prevent editing a SharePoint site column value from document properties view of a downloaded document?

    Hi,
    We have created a SharePoint site column with below settings
    1. ShowInEditForm - False
    2. ShowInNewForm - False
    3. ShowInDisplayForm - True
    With the above definition, the site column showing only in view properties form not in New and Edit forms.  This column is added to a document library and updating this column value will be managed by event receiver code when a document is uploaded.
    Till this point, everything is working OK.
    But the issue is when we download and open a document from the above document library, under document properties the above column (with value) is visible along with other document default properties and  this column value is editable. With this issue,
    user is able to set a new value and overwrite the existing value by re-uploading the document.
    Could you please let me know how to handle this issue so that user should not be allowed to edit except viewing the value/property (read only)?
    Thanks in advance.
    Regards
    Ramesh

    You can set "ShowInFileDlg" property of field to "FALSE". Using this you will not see that field in document properties list

  • How to apply CSS to Existing Site

    Help! I am a Macromedia Dreamweaver user. I manage a few simple sites on a volunteer basis. I was recently forced by a new computer purchase to upgrade to CS4 for Vista compatibility.
    I have never used Style Sheets. I've spent several hours this afternoon combing the web for instructions and found that most of the information assumes way more knowledge than I have, and the more basic articles seem to provide nice overviews of what CSS is and why one might want to use it, or possibly how to build a new site using CSS, but they have not answered my "how to" questions about my existing sites.
    My two most pressing unanswered question are these:
    1)  I seem to have successfully created a new CSS rule by selecting a section of text in the document, setting the Property Inspector to CSS and then naming the rule and choosing a font style and size (although the new rule dialog box never appeared - I did it all in the Property Inspector). Do I have to go through the whole site and apply this rule individually to each section of body text? The existing document has all the text set by its specific features (e.g. Arial Bold 10), not using "heading 1" "heading 2" etc.
    2) I do not use Dreamweaver to upload my finished documents. I use a site-managemet ftp page on my host server. Once I've created these CSS style rules, is there anyting that I need to upload besides my edited pages?
    Thank you in advance for help.

    If you are using the same font family, font size, colour, etc... you can use a separate style sheet and just use
    body {font-size:14px; font-family:arial, helvetica, sans-serif}
    this will make all your site the same body style.
    Do I have the book for you:  CSS in easy steps by Mike McGrath  isbn#1-84078-301-x
    It's a really good beginner's book to CSS.  And really easy to read!  Was a huge help to me in my beginnings of CSS.
    Also, www.lynda.com is a great resource.
    Hope this helps!
    You'll need to upload that extra css page with the rest of your site!
    Message was edited by: JulesN

  • How to apply 3 RPC (Recommended Patch Collection)

    Dear,
    I am fresher in the field of Oracle EBS R12. As per recurrence of the create accounting issues on PAYABLE module: the Metalink representative recommends to apply the following patch collection:
    We strongly recommends to apply the following 3 RPC (Recommended Patch Collection):
    Patch 13563472:R12.AP.B
    Patch 13563481:R12.AP.B
    Patch 13563489:R12.AP.B
    So I want to know how to apply these patches, one by one or collectively. I shall be very thankful if you share all steps to apply these patches with me.
    Stay blessed.
    Best Regards,
    Ahmed.

    I have corrected some of you steps and made below:-
    1. Stop applicaiton services.
    2. Stop Database Services or bring database in hot backup mode.
    3. Take backup(both apps and DB).
    4) Start Database or bring database out of backup mode.
    6) Bring application in maintenance mode.
    7) Extract the patch into a folder.
    8)Follow readme document of the patch.
    9) use adpatch utility to apply the patch.
    10) disable maintenance mode
    11) start application services and test the application functionality.
    I need your help at step # 5. In this scenario, will i take cold backup of data files only or whole backup of DB Tier & Application Tier. Whole backup of DB and apps Tier.
    And Please also tell me if i want to reverse the patch operation, what do i need ? only restore the data files. Please tell me step by step. I shall be very thank full to you. Your posts are always helpful for us.restore complete db and apps tier.
    If you have taken cold backup prior to patching activity then to undo a patch use below steps:-
    1)Stop apps and db tier.
    2)Clear all apps and db mount points.
    3) Restore backup taken prior to patching activity.
    4) Start database and listener.
    5) Start application.
    If you have taken hot backup then after step 3 you need to recover the database and rest all steps remain same.
    Also check below metalink note:-
    How to uninstall backout rollback an Oracle Applications 11i or R12 Patch [ID 343987.1]
    Thanks,
    JD
    Thanks,
    JD

  • How to get result from SharePoint site which is on different server.

    We have two SharePoint site on two different server. We want to create search which will search and display content of one one site on other site.
    If this is possible then pls let me know how can I do this. If you have any links/blogs pls share with me.
    Rushikesh_Khadtare

    Hi  ,
    According to your description, my understanding is that you need to create search which will search and display content of one site on other site.
    For your issue, you can deploy a "search center" site in each web app. 
    Any time you perform a search from a search center site, it by default searches all content (using All Content scope) in your index, regardless of web app.
    Take the following steps:
    * Go to  Search Service Application
    * Click Content Sources
    * Select Edit from the Local Office SharePoint Server sites
    * In Start Addresses add the urls of all web applications that you want this content source to crawl
    After a crawl you should now be able to search/find data from all web applications.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to get hostweb's site collection in SharePoint hosted app?

    I want display SharePoint site collection of host web in my SharePoint hosted app. I have used following code. 
    ExecuteOrDelayUntilScriptLoaded(callSharePoint, "sp.js");
    function callSharePoint() {
    hostweburl = getQueryStringParameter("SPHostUrl");
    appweburl = getQueryStringParameter("SPAppWebUrl");
    hostweburl = decodeURIComponent(hostweburl);
    appweburl = decodeURIComponent(appweburl);
    var scriptbase = appweburl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js",
    function () {
    $.getScript(scriptbase + "SP.js",
    function () {
    //$.getScript(scriptbase + "SP.Taxonomy.js", function () { });
    $.getScript(scriptbase + "SP.RequestExecutor.js", execOperation);
    //Loads context, web and lists....
    function execOperation() {
    try {
    //create context for appweburl.
    context = new SP.ClientContext(appweburl);
    var factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
    context.set_webRequestExecutorFactory(factory);
    //get hostsite reference & load as web.
    appContextSite = new SP.AppContextSite(context, hostweburl);
    web = appContextSite.get_web();
    context.load(web);
    list = web.get_lists();
    context.load(list);
    webs = appContextSite.get_web().get_webs();
    context.load(webs);
    //webs = appContextSite.get_site().get_rootWeb().get_webs();
    //context.load(webs);
    context.executeQueryAsync(onWebsLoaded, onQueryFailed);
    catch (err) {
    alert(err.message);
    function onWebsLoaded(sender, args) {
    alert(list.get_count());
    var webEnum = list.getEnumerator();
    while (webEnum.moveNext()) {
    web = webEnum.get_current();
    alert(web.get_id());
    for (var i = 0; i < webs.get_count() ; i++) {
    subwebs = webs.itemAt(i);
    recursiveAll(subwebs);
    /* recursive call for web */
    function recursiveAll(cweb) {
    debugger;
    alert(cweb.get_title());
    var subwebs = cweb.get_webs();
    context.load(subwebs);
    context.executeQueryAsync(function (sender, args) {
    debugger;
    var webEnum = subwebs.getEnumerator();
    while (webEnum.moveNext()) {
    web = webEnum.get_current();
    alert(web.get_title());
    //recursive call for current web.
    recursiveAll(web);
    }, function () { debugger; alert('err'); });
    In this code I have get all the list of the Host web. But I am not able to get Host webs.
    Any of the when I load the Web it gives me the AppWebUrl not the host web.
    So I tried by using following code
    context = new SP.ClientContext(hostweburl);
    web = appContextSite.get_web();
    context.load(web);
    context.executeQueryAsync(onWebsLoaded, onQueryFailed);
    But it gives me error: unexpected response data from server
    Is there any other way to view all sites and sub sites of the host web in SharePoint hosted app?

    Hi,
    Since you are using a provider Hosted app if you want to get the current logged in name than do not use AppOnlyAccessToken else use AccessToken which is App + user Context AccessToken.
    then 
    Web web = clientContext.Web;
    clientContext.Load(web);
    clientContext.ExecuteQuery();
    clientContext.Load(web.CurrentUser);
    clientContext.ExecuteQuery();
    clientContext.Web.CurrentUser.LoginName;will return proper user Name.
    HttpContext.Current.User.Identity.Name will never return the user as this object is related to IIS server of your App Server not sharepoint.you should set this as Anonymous in case of provider hosted app.you can download the below sample which uses the AccessToken which has user name in it.https://code.msdn.microsoft.com/Working-provider-hosted-8fdf2d95
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • SharePoint 2013 Site Collection shows logged on as different credential

    Hi
    I am getting report from from users who said when they access various Site Collections (not all the sites) and the logon credential at the top right hand conner show someone else credential.
    such like a user login the network as domain\John Doe and access a SharePoint site collection and the credential at the top right hand corner of the site page showed Mary West ... 
    My understand is this credential at top right hand corner come from the UIF (User Information list) and indeed I looked into the UIF and found that Mary West user entry exist in the list and when I clicked on Mary West link it opened John Doe
    profile page.
    This happen only when they access SharePoint sites. How can a user ID cross with another user ID? I have never seen anything like this or couldn't find any information relate to this behavior
    Anyone have seen this or have any advise or suggestion where i can begin to troubleshoot, please advice
    Thanks so much in advance for any information
    Swanl

    Hi,
    Has the user domain\John has recently updated some of his information (such as the user's display name) in Active Directory Domain Services. The information was updated correctly in the user Profile Service Application. However, on the specific
    Microsoft SharePoint Site Collection, that information was not updated in the information list.
    To solve the issue, access All People group , you can modify the following URL in the browser:
    < Site URL>/_layouts/people.aspx?MembershipGroupId=0
    Remove the user from this group, this also removes the user from the userInfo table in the Microsoft SQL Server database. When you re-add the user, the user's information is updated in this table.
    For more information, refer to the following link:
    https://support.microsoft.com/en-us/kb/2568838?wa=wsignin1.0
    Best Regards,
    Lisa Chen
    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]

  • Cross Domain User Access for Sharepoint 2013 site collection

    Hi All,
    We have three Domains , one is for client machines and  AD user access purpose and second one is production environment (only some of developers has access to this domain) and third one is SharePoint environment (Because External users needs to
    access my SharePoint sites) .
    now we need to access SharePoint site collections from my another two domain user accounts with out creating user account from SharePoint domain , how to enable this access?
    please advise.
    Thanks in Advance,
    Mani L

    Hi Mani,
    You're asking this question in the wrong forum, this forum is meant for suggestions and feedback on the forums themselves, not product support.
    I recommend reposting your question in the SharePoint forums here (or you can request that a moderator move this thread for you):
    http://social.technet.microsoft.com/Forums/en-us/home?category=sharepoint&filter=alltypes&sort=lastpostdesc
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Building Site Collections in SharePoint Online

    Hello all,
    Please forgive me for this very basic question, but I was not able to find the info online. 
    Background info: I have a great deal of experience with SharePoint administration on-prem but not much experience with SharePoint Online. My current organization has O365 and wants to build a collaboration environment and an Intranet. I understand the information
    architecture practices that would have been common for this for an on-prem environment, and I understand that those have changed with 2013 and SharePoint Online due to the new practice of organizing everything under one web app. 
    Between reading some articles and using my experience with on-prem, I am trying to design an organized information architecture that will facilitate both environments and the permissions structures they require. My tentative plan was to build one site collection
    for the Intranet under https://mycompany.sharepoint.com/sites (under which subsites would be built for various Intranet divisions), and then a number of individual site collections for the collaboration environment under https://mycompany.sharepoint.com/teams
    (/hr, /finance, etc., so that content owners and users could work in their own site collection without affecting a site collection belonging to someone else). 
    This is the article that initially caused me to believe that this is possible/a good idea: http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/09/01/sharepoint-online-information-architecture-considerations.aspx. 
    "For [managed paths] you get the root, /search (explicit managed path), /sites (wildcard managed path), and /teams (wildcard managed path)."
    However this article leads me to believe that I will not be allowed to create any site collections at all, only subsites: https://support.office.com/en-us/article/Plan-sites-and-manage-users-8e568d8d-3d65-42c4-99fa-f7285c9db842. 
    "You cannot create additional site collections in SharePoint Online for Office 365 for Small Business."
    I understand the answer to this may depend on what version of O365 we have, and I am working to find that out. 
    My understanding is that I cannot be made a SharePoint Online administrator without being a global O365 administrator: http://blogs.technet.com/b/lystavlen/archive/2012/06/14/understanding-the-administrator-role-in-sharepoint-online.aspx.
    "You cannot separate the roles of Office 365 global administrator and SharePoint Online Administrator." 
    Thus, I don't currently have the level of access I need to browse around the administration area and find the answers to my questions that way. When the time comes, I will likely be given temporary access or will be working with an O365 global administrator
    to build.
    Main question: Will I be allowed to build site collections under managed paths?
    Larger question: How are others managing the information architecture for an Intranet and a Collaboration environment in SharePoint Online, especially if the answer to the prior question is no?
    Thanks in advance for any insight you can offer. 
    Shae

    Hi,
    According to the error message, the Microsoft.Online.SharePoint.Client.Tenant.dll seems not been loaded.
    You can find it in the path below:
    C:\Program Files\SharePoint Client Components\Assemblies
    A code snippet about how to retrieve a list of site collections in a tenant for your reference:
    const string username = "[email protected]";
    const string password = "password";
    const string tenantAdminUrl = "https://yourdomain-admin.sharepoint.com/";
    var securedPassword = new SecureString();
    foreach (var c in password.ToCharArray()) securedPassword.AppendChar(c);
    var credentials = new SharePointOnlineCredentials(username, securedPassword);
    using (var context = new ClientContext(tenantAdminUrl))
    context.Credentials = credentials;
    var tenant = new Tenant(context);
    SPOSitePropertiesEnumerable spp = tenant.GetSiteProperties(0, true);
    context.Load(spp);
    context.ExecuteQuery();
    foreach (SiteProperties sp in spp)
    Console.WriteLine(sp.Title);
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to configure Search for a site in sharepoint 2013?

    Hi,
    I had a document library.
    1)I want to configure search so that I can search documents from previous month, quarterly, half year, year, and all documents is possible.
    2)Search results are organized with most recent documents at the top.
    3)Search results have year as refiner that can be used to show results only from specified year (In library we have field with year when document create)
    To achieve this what I have chane in site settings->search
    and what I have to write for Result Types, Query Rules
    Thanks

    Hi,
    Following are the steps you need to perform for creating the search center.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/10/30/set-up-a-search-center-in-sharepoint-2013.aspx (About Search)
    1. Create the site collection by navigating to the CA(Central Admin) & select the Enterprise Search Center Template.
    2. Create Content Source -> Navigate to the Search Service application->Create the content source if the content comes from other content farm (if different farm accout  if it same add the site Collection URL in default Content Source. ( make
    sure the crawl account must have full read permission)
    http://blogs.technet.com/b/tothesharepoint/archive/2013/10/31/how-to-create-a-search-center-site-collection-and-enable-crawling-of-your-content-in-sharepoint-2013.aspx (Create
    Search Center)
    3. Once you add url in the content source and run the full crawl.
    4. Navigate to the Search center created at step 1 and try to search with the document name. you will see the document.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/06/how-to-configure-the-search-results-web-part-to-use-a-new-result-source-in-sharepoint-2013.aspx (Go
    to the document Library and configure the result source)
    5. To configure the refiner please follow this post. You will see the modified refiner to refine your search http://blogs.technet.com/b/tothesharepoint/archive/2013/11/07/plan-to-use-refiners-on-a-search-results-page-in-sharepoint-2013.aspx)
    Let me know if you req. any other information.
    Regards,
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

  • Problem with users accessing sharepoint 2013 site collection

    I have an unbeliveable problem..
    I have a sp site with several site collections..
    I have around 15 users.. Everybody have access to the root site. Two users do not have access to site collections even though they are in EXACTLY same permission groups like other users who can access those site collections!
    I tried to delete them from all user groups in SP, then delete their user profiles in Central Administration, and delete them from Active Directory. After that I recreated their profiles in Active directory, readded them to Central Administration, and again
    added them to coresponding groups in SharePoint site collections. They again CAN NOT ACCESS site collections.
    What should I do.. This is incredible that 5 users with the same user privileges can access site collections, and 2 can not, even though they are all created in the same way..
    Regards,
    Srdjan

    Hello,
    Have you found a solution for this problem? I have the exact same problem with 2 users accessing a site collection (access denied). I found also this row on uls log:
    Access Denied. Exception: Attempted to perform an unauthorized operation., StackTrace:   at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)     at Microsoft.Office.Project.PWA.PJBaseWebPartPage.OnPreInit(EventArgs
    e)     at System.Web.UI.Page.PerformPreInit()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionSt... 6955b79c-c42c-50fc-84f8-2b68f97002ea

Maybe you are looking for

  • How to display the content from a file  stored in database

    when i am trying to display the content from a file which stored in database on oracle report 10g data are displaying as following. please help me to display the data in readable format <HTML LANG="en-US" DIR="LTR"> <!-- Generated: 1/11/2006, postxsl

  • "Save As" from browser

    Basically, I'm trying to duplicate the functionality of this HTTP header: Content-Type: application/octet-stream; Content-Disposition: attachment; Except it has to be using pure client side technology. Example: I have this link <a href="file.txt>Save

  • HT204022 How to erase photos from photo stream on my iPhone?

    How to erase photos from photo stream on my iPhone?

  • Trouble w video

    I'm Having trouble streaming videos from a website , what do I do ?

  • Applet does not return a correct IP address

    I have an applet that when I run from within eclipse showes me my correct IP address. However as soon as I inserted this applet into JSP file I started to get just 127.0.0.1 address, always. What am I doing wrong ? import java.applet.Applet; import j