MMS Hidden columns appearing in Document Library Settings / Column list

Hello all,
Before you read this please be aware that I have found a resolution (that might be helpful to others) but I am wondering if anyone else has experienced the same thing and the cause.
Our scenario is as follows:
We use a Content Type hub
Most Content Types include one or more Managed metadata columns
The MMS Notes (hidden) columns (e.g. mms_column_name_0) have appeared on the 'Document Library Settings page under 'Columns' for 2 document libraries only. They appear under the actual name of the column (e.g. mms_column_name).
They are NOT visible to the user however (i.e. they are not selectable to be used in a view)
Looking at SharePoint Manager the mms Notes column's are marked as being Hidden = false. Altering this to true has the desired effect.
But has anyone else experienced the same issue as I'm inquisitive as to the cause.
The only thing I can think of that caused this to happen was us using 'Metadata navigation settings' (which allows you to configure navigation hierarchies) for the first time on one of the 2 Doc Libs effected . However, on testing it on other document
libraries the unhiding of columns has not occurred.
Can anyone shed any why this may have occurred?
Jason

Hi jasonl27,
this behaviour:
This is by design. Two separate lists do not have any type of relationship established to distinguish that the
columns are the same. For example, take an arbitrary column called "Position" being created on two different custom lists. Because the column Position is a custom column created
in the list, it has no mapping to other lists. The "Position"
in one list could refer to a title of a person
in one list, or a physical location on a different list. SharePoint cannot tell if these two items are the same or completely different. As a result, a new column name is added when we move the item.
perhaps you may try to do these steps:
$site = Get-SPSite -Identity "http://......../"
$web = $site.RootWeb
$field=$web.Fields["column name"]
$field.Update($true)
$field.Hidden= "True"
$web.Dispose()
$site.Dispose()
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Copy document step doesn't copy a column of a document library

    I have created a site workflow to run when a document is uploaded to a specific document library(A).
    In the workflow it copies the document which is uploaded to another document library. Destination document library is decided by a column in the "A" document library named as 'Category'.
    Depending on the category the document is copied to one of the other document libraries.There are 8 other document libraries.
    "A" document library has 7 columns created by me. Other document libraries have the exact set of columns(In  there exact same names) and one more extra column.
    Workflow works perfectly fine and it copies the document. But only one column doesn't get copied to the destination libraries.
    This particular column is a "multiple line" type and the number of lines are 4.
    These settings including the column name,type,number of lines all are similar to the source document library.
    Now the strangest thing is this only happens for 6 out of those 8 destination doc libraries. For two of the document libraries all the columns gets copied.(Those two are highlighted in the image)
    I cross referenced almost all the document library settings with the working and not working destination document libraries and couldn't find any difference.
    What could have gone wrong? 
    How does the SharePoint match the columns between document libraries when copying a document ? Is it only the column name or is there any other id its using?
    Is there any other way to do debug kind of a thing in a workflow to find out the problem?

    Hi Diren,
    I tested the issue in my environment with SharePoint workflow 2013. I created two libraries, then created a multi-line text column with the same name for both of them respectively. The simple workflow is designed as below:
    And it worked for multi-line text column. It turns out the multi-line text column during the copying to another library. All we have to ensure is the column name is the same. However, when creating column, I didn’t change the default settings unless the
    Number of lines for editing was set to 4 for your situation.
    As the issue occurs to part of libraries, I’d suggest re-adding an multi-line column with same name in the source library and other 7 libraries, and leave them with default settings. Then test the issue again, this helps us to eliminate the possible cause
    with different settings.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Unable to delete column created under document library.

    I've created custom column in SharePoint online (2013). I want to delete one column from my document library. In library settings all columns are showing but its not clickable to select and delete the particular column.
    Please advice.

    Hi,
    Thanks for posting your issue, you won't be able to delete the required column like Tittle, Name from the Document library. you can hide this column.
    f the column is on a content type in the library, then first remove it from the content type and then from the library.
    Kindly find the below URL to know about hiding and deletion of columns in Document library
    http://support.microsoft.com/kb/2657619
    http://www.codeproject.com/Articles/28005/To-remove-the-title-column-from-a-Sharepoint-list
    http://mscerts.programming4.us/sharepoint/sharepoint%202010%20%20%20change%20or%20remove%20a%20column%20in%20a%20list%20or%20document%20library.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • SharePont 2013 Document Library lookup Column Properties not Showing Correctly when editing in Word

    Hi
    I keep seeing this issue albeit intermittently.  I have set up a doc library for my users which has a custom content type (lookup, metadata columns, etc)  . They all appear perfectly most of the time except the lookup column. Sometimes is just
    decides to display the title field of the current library and not the lookup list title .  It is weird as it has been working perfectly for ages given the library is populated with valid documents.
    There are some fixes listed here. Has anyone got any experience of this?
    https://social.msdn.microsoft.com/Forums/azure/en-US/e0b55531-509c-4219-8113-61b3e488de69/document-library-metadata-properties-of-a-content-type-do-not-show-correctly-when-editing-in-word?forum=sharepointdevelopmentprevious
    Freelance consultant

    Hi,
    According to your post, my understanding is that the lookup  column not display well while editing in word.
    Did you customize the Document Information Panel?
    I recommend you edit your custom document information panel or create a new document information panel, then re-publish it to check whether it works.
    https://support.office.com/en-gb/article/Create-or-edit-a-custom-Document-Information-Panel-for-a-content-type-b701a9af-3ea6-4c1a-9e1c-75363bd987c9?ui=en-US&rs=en-GB&ad=GB
    Or you can also use the methods in the post you have pasted to check whether it works.
    As the limitation of the environment, we could not reproduce the issue in our environment.
    I  would suggest you open a case to Microsoft Customer Service via Phone.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Cannot a file to document library with column validation

    I have two problems
    Problem#1: I can not create a file from C# code, If document library has a text column with Sharepoint column validation.
    SharePoint throws exception if I invoke SPFileCollection.Add method.
    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String
    bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete,
    String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel,
    Int32& pbIgnoredReqProps) at Microsoft.SharePoint.SPFileCollection.AddStreamOrBytesInternal(String urlOfFile, Stream file, PutFileOpt fileOpt, String createdBy, String modifiedBy, Int32 createdByID, Int32 modifiedByID, DateTime timeCreated, DateTime timeLastModified,
    Object varProperties, String checkInComment, Stream formatMetadata, String lockIdMatch, String etagToMatch, SPLockType lockType, String lockId, TimeSpan lockTimeout, Boolean validateRequiredFields, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage,
    String& etagNew, Boolean& ignoredRequiredProps) at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, SPFileCollectionAddParameters parameters)
    If I remove column validation, I don't get that error.
    It would appear that the error is thrown internally in Sharepoint's Add API.
    Not quite sure how to proceed now.
    Problem#2: Even if I input a valid value in the column validation, the same error above is still thrown.
    Confused................
    [Update] Okay, I have found the reason for the exception (correct if I am wrong). Sharepoint File has metadata, and when I do the Add function, Sharepoint internally does a validation on the metadata and it will throw exception if not validated. That's why
    validation would fail even when I am inputting some valid data in my field (because I am not sending that valid data to the Add function through metadata properties).So, my question now is:
    Is it possible to prevent the validation on the metadata properties? Is there some APi for it?

    I was probably not clear in my thread.
    What I would want is for my code to upload the file to the server and then allow me to input my values for the metadata, THEN do the validation. Similar to how you upload a document to sharepoint library using the out-of-the-box webparts.
    But, right now in my code, this is not possible. Uploading the file using the Add API will just throw an error BEFORE even allowing me to input any values for my item/file metadata. So, I am trying to find a way to upload my file without the validation (pretty
    much like how microsoft does it in oob)
    Not sure if this is clear enough now

  • How to create a managed metadata column in sharepoint document library programmatically

    Hi,
    I want to create a column of type "Managed metadata" in a document library.
    I am new to managed metadata and its basics. So i need to know what it requires to create it. i got this
    1. Create a term set Group.
    2. Create term set.
    3. Create a term.
    I am using sharepoint foundation where "Term Store Management" service is not available.
    I am writing this code for OFFICE 365. So can write a code with prediction, assuming i have basic info required to run my code?
    var termStore = session.TermStores["Managed Metadata"];
    var group = termStore.Groups.GetByName("KB Submission Policy");
    var termSet = group.TermSets["KB"];
    Can write this code with respect to screen shot as follows in my term store 
    Please reply...

    Hi,
    Please check this
    http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2011/08/03/sharepoint-2010-cookbook-programmatically-create-term-sets-amp-metadata-columns-in-managed-metadata-service.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Algning new folder with other data columns in a document library

    Hi All,
    I have created an InfoPath form that used to create a new form & a new document library and the description to that folder.
    Now my InfoPath form has some text boxes to store data. Also there is an attachment control to upload documents. These documents should be uploaded to the newly created folder.
    The new folder should display at the document library as in the same row with other data columns that were inserted to the data library. I have the problem with the new folder aligning in the same row with other data.
    So if someone can know how to solve this matter please enlighten me.
    Thank You,
    Chiranthaka.

    Can you provide more detail on what exactly you need to achieve and how your system is functioning at the moment? It sounds like you have an Infopath form that can have documents attached to it, you then store these documents into a new folder and wish to
    have the folder represented in the list view for the form in the form library you are using?

  • Get/retreive managed metadata column value from Document Library using SharePoint 2013 JSOM

    Hi,
    I am trying to retrieve managed metadata column (NewsCategory) value in SharePoint 2013 Document library using JSOM.
    I get "Object Object" rather than actual value.
    I tried:-
    var newsCat = item.get_item('NewsCategory');
    alert(newsCat) //Displays [Object Object]
    var newsCatLabel = newsCat.get_label();
    var newsCatId = newsCat.get_termGuid();
    But, I get the error "Object doesn't support property or method get_label()"
    I also tried :-
    var newsTags = item.get_item(' NewsCategory ');
    for (var i = 0; i < newsTags.get_count() ; i++) {
    var newsTag = newsTags.getItemAtIndex(i);
    var newsTagLabel = newsTag.get_label();
    var newsTagId = newsTag.get_termGuid();
    Even now I get the error "Object doesn't support property or method get_count()"
    I have included " NewsCategory " in the load request:- context.load(items, 'Include(File, NewsCategory)');
    Any idea what the issue is? Do I have to add any *.js file using $.getScript?
    I added following .js files
    var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js", function () {
    $.getScript(scriptbase + "SP.js", function () {
    $.getScript(scriptbase + "SP.Core.js", function () {
    Thanks in Advance,

    Hi Patrick,
    I already added those references. I just pasted the parts of script snippet in my initial post. To avoid confusion I am pasting here complete script.
    2.1.1.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js", function () {
    $.getScript(scriptbase + "SP.js", function () {
    $.getScript(scriptbase + "SP.Core.js", function () {
    function getdata() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    var list = web.get_lists().getByTitle('Documents');
    var camlQuery = new SP.CamlQuery();
    var filterCategory = 'Solutions';
    var IDfromTaxonomyHiddenList = 15;
    camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef LookupId="TRUE" Name="'+filterCategory+'" /><Value Type="ID">' + IDfromTaxonomyHiddenList +'</Value></Eq></Where></Query></View>');
    /*the above CAML query successfully gets all the list items matching the criteria including "NewsCategory" managed metadata column values
    But when I try to display the value it retrieved it ouputs/emits Object Object rather than actual values */
    var items = list.getItems(camlQuery);
    context.load(items, 'Include(File,NewsCategory)');
    context.executeQueryAsync(
    Function.createDelegate(this, function (sender, args) {
    if (items.get_count() > 0) {
    var listItemEnumerator = items.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    var file = oListItem.get_file();
    var name = file.get_name();
    var newsCat = oListItem.get_item('NewsCategory'); alert(newsTags.constructor.getName());
    alert(newsCat) //Displays [Object Object]
    var newsCatLabel = newsCat.get_label(); // Here it errors out with message "Object doesn't support property or method get_label()"
    var newsCatId = newsCat.get_termGuid();
    } //end while
    }//end if
    Function.createDelegate(this, function (sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(getdata, "SP.Core.js");
    </script>
    In the above script "var name = file.get_name(); " gets the exact file name.
    But the line "var newsCat = item.get_item('NewsCategory');
           alert(newsCat) //Displays [Object Object]  rather than actual value.
    Issue resolved replace "oListItem.get_item('NewsCategory');" with oListItem.get_item('NewsCategory').get_label();"
    Thanks

  • Set the column order in document library using power shell

    hi all,
     am looking for a power shell script which set the column order in the document  library, when i try to upload a  document.
     ie; i am  uploading a  doc to the doc lib. which has the below columns:
     columnA -   [choice field  - mandatory ]
     columnB -   [lookup field  - mandatory ]
     columnC -   [single line of text  - optional ]
     columnD -   [choice field  - optional ]
     columnE -   [choice field  - mandatory ]
    now when  the end user uploads a   document in my doc lib, i would like to see the mandatory columns takes up the top order and then optional fields.
     columnA
     columnB
     columnE
     columnC
     columnD
    so, is there any script, through which i can set the mandatory columns which will be coming in top and the optional fields as next order

    This is sample PowerShell code to reorder fields in a content type of a list.
    $web = Get-SPWeb http://aissp2013/sites/TestSite
    $list = $web.Lists["MyList"]
    $contentType = $list.ContentTypes | where {$_.Name –eq "MyTestCT"}
    $ctArray = "Title","ColumnA","ColumnB","ColumnD","ColumnC"
    $contentType.FieldLinks.Reorder($ctArray)
    $contentType.Update()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Update Sharepoint 2013 document library folder columns using document url

    Hi All,
    I have a SharePoint document library. In that library I am having folder name called Folder1. In this folder Folder1 I have 4 files in it. Now. I need to update the status column of these 4 files in Folder1 folder using the url of these 4 files.
    So can anyone help me in to solve this problem. I am using SharePoint 2013 and Visual studio 2012. I want the code in C#.
    Thanks & Regards,
    Kishore
    Kishore

    Hi,
    According to your post, my understanding is that you want to update the field within the folder.
    I have made a simple code demo below to update the field within the folder, you can have a look at it.
    using (SPSite site = new SPSite("http://YourSiteURL"))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists.TryGetList("Lib1");
    if (list != null)
    foreach (SPListItem folderItem in list.Folders)
    if (folderItem.Title == "Folder1")
    SPListItem item = list.GetItemById(5);
    item["Status"] = "Updated";
    item.Update();
    Console.WriteLine("Field update successfully...");
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Is it possible to give link of document library in sharepoint list in 2010

    Hi All,
    Using share point list data we have shown in reports. For this we create 1 view and shown as reports. we have 1 document library with title field, same field is in list also.when we click on link on list - it redirects to library folder.
    Is their anyway to do that where as list is custom list.
    Any help is appreciated..!

    Hi Bangara,
    According to your description, my understanding is that you want to create a link in your list, then this link is linked to a library folder. Is it right?
    You can create a Hyperlink field in your list as opening your list->clicking on ‘Create Column’ under List ribbon, then type a name for the column, select the type of the column is Hyperlink or Picture, and Format URL is :Hyperlink.
    After that, when you create a new item or edit an item in the list, you can type the URL of the related library folder in this link field.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Attachments in document library form or list form sent to another Document library on click without code

    Hello,
    I am trying to allow my users to use my form, fill out the fields, add attachments and then on button click the form will be attached to the document library (already done) and the attachments the user added will be automatically sent to another document
    library so that I can send them to another location separately from the form.
    So the sequence of events is:
    User enters in data
    User attaches documents
    User submits data to document library
    Attachments are sent to a separately document library
    Unfortunately I can't use code to go about this so this leaves out the COM but is there an out of the box way to go about this?

    Hi, 
    Kindly check out below mentioned URL for more details on this issue.
    http://sharepoint.sureshc.com/2012/12/publish-different-infopath-forms-into.html
    http://social.msdn.microsoft.com/Forums/en-US/653449d2-7dd2-4a94-862e-32e393ef4cbc/put-an-attached-file-from-an-infopathform-into-a-document-library
    I hope this is helpful to you. If this works, Please mark it as Answered. Regards, Dharmendra Singh (MCPD-EA | MCTS) Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to remove or hide Name column while upload document in document library

    Hi All,
    In below print screen the first column Name* which always show when I'm going to upload the file which I don't want. It will be really help full if you provide some solution how to hide this column while uploading the document. Its really confusing the users
    when they are going to upload the document in document library.
    I already tested below steps. After clicking Document Content Type every column is clickable except "Name" column. 
    Go to Document Library settings -> Advance settings -> Allow management of content types -> check the box
    Now go back to Document Library settings -> Under content types -> click Document content type -> select the column -> Hide this column
    Every column is clickable except "Name" column so unable to resolve this issue. Please help.

    Hi,
    Thanks for posting your issue, Kindly browse the below URL to fix this issue
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c7d0e0d5-084b-4d49-88fe-b411a70042bd/how-to-hide-the-name-column-in-the-document-library?forum=sharepointdevelopmentlegacy
    http://spstipsutilitypack.codeplex.com/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Issue when filtering with Managed Metadata Columns in Share Point Document Library

    Hi All
    I have a document library, and a four Metadata Columns in it, with each column having a number of term in it. I have no issues in adding a document or in term sets. We have set property of Managed Metadata Column as Allow Multiple Values. So some of the items
    in library contains values with only one term set. While other documents contains values with multiple values.
    We have a number of country sites having the document library  with same metadata columns. In document library default view i am showing Metadata column, User want to filter the documents (view) based on Metadata column selected.
    The filtering is giving inconsistent behavior. In production server it is giving in error with some correlation ID. On our development machine some times it is working fine and some other times it is given error of Validation of Viewstate MAC failed. i tried
    on different countries sites.
    I checked we have already kept the Metadata Navigation and Filtering under site action feature as activated. It was even more weird when i deactivated the feature on one country site and the filtering was working fine. And on other country site where i
    kept the feature as activated and the filtering was giving an error.
    Thanks & Regards
    Amit

    Hi Amit,
    Have you checked the ULS error message for more information with correlation ID?
    Please try using the library metadata navigation to filter these managed metadata columns value via configuring library "Metadata navigation settings" after you enabled the "Metadata Navigation and Filtering" feature,
    then check if the issue would still persist.
    Please see more information from below article with similar issue.
    http://blog.tippoint.net/filter-by-managed-metadata-field-in-asset-picker-dialog/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • When i attach workflow to document library, the custom columns data is not saving.

    Hi, i had created SharePoint designer workflow (send Email) for Document Library.
    I had created Custom columns like.
    "Employee Name" of type Person or Group  
    "Resume Type"  of type Choice 
    When i attach my workflow to document library, the columns data is not saved.
    It is just uploading resume, and sends email to the user groups, but data is not saved for custom columns. !.e "Employee Name" and "Resume Type".
    Any help will be appreciated.

    In SharePoint Document Library, first the document will be uploaded and then the metadata will be updated. So, in your workflow settings, select start workflow when item is changed instead of item is created and then try. 

Maybe you are looking for

  • How do I get a factory unlocked iPhone 3GS out of (connect to iTunes) mode?

    How do I get a factory unlocked iPhone 3GS out of recovery (connect to itunes) mode?  Once the iPhone 3GS is in DFU mode and plugged into iTunes, the restore and update process begins. The restores process are as followed: Extracting software > Prepa

  • How do i disable the drop down menu every time i type suggestions come up

    when i open up firefox then type in a site i want there is a suggestion drop down its very annoying as i keep looking up to the screen can i disable it and how cheers

  • How to improve the deletion rate.

    Hi, I have a requirement on improving the deletion rate on on records of a table. The table contains 5 million records, but since deleting everything matching the condition at one go was giving the ROLLBACK segment allocation error, the query was cal

  • How consumer is determined

    Hi Experts: I have 2 B2B systems (systemA and systemB) setup, where I send a 4C1 (Inventory Report) from SystemA to SystemB using ResettaNet protocol. To systemB, it is an inbound 4C1 message. In SystemB, I have configure 4C1 operational capability f

  • Rotating a single pattern swatch

    I am trying to work out how to rotate a pattern swatch without that rotation affecting all the other pattern swatches on my palette. I don't want the rotation to apply to just one instance of fill, I want to edit the actual swatch so that whenever it