managed metadata column issue
5 TopicsManaged Metadata Column, Term Label Returns Some ID Instead of Actual String Value
I have a flow which will get file properties from a library that contains a managed metadata column. But when I run the flow, the term label value returns some ID instead of the actual string value. The actual Label value should be something like "Fire Protection" and not 109. I can't find a way to get the Label string using any other way. Is this the actual behavior or it's a bug? I'm not sure. Is there any other way to get the Label value? Thanks.SharePoint news web part not working correctly when using managed property filter
Hello Everyone We are using the News web part on our company intranet which is filtered using a managed property. From this Tuesday, it's started playing up. The Intranet displays incorrect dates for all the news postings (8 hours less). I have attached the screenshots for your reference. Is anyone else facing the same issue? Any help will be appreciated. Thanks Vaneet1.4KViews0likes0CommentsSPO List Gallery view JSON: Split (or wrap) array of managed metadata column values across new lines
Hi All, I have an SPO List, using Gallery view. Of four columns of data that display on the cards, one is a managed metadata column called 'Values' (corporate values) that allows multiple selections (resulting in an array). These display on one line only and are truncated, so if all corporate values are selected, the last few are not visible on the gallery card. Ideally, I need some additional rows of JSON to split this array up and place each corporate value on a new line, and then introduce an icon prior to each corporate value. But I accept that might be a bit ambitious, so would settle for making the array wrap to two lines and not truncate. I tried this but this didn't work: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/tile-formatting.schema.json", "height": 500, "width": 310, "hideSelection": false, "fillHorizontally": true, "formatter": { "elmType": "div", "attributes": { "class": "sp-card-container" }, "children": [ { "elmType": "button", "attributes": { "class": "sp-card-defaultClickButton", "role": "presentation" }, "customRowAction": { "action": "defaultClick" } }, { "elmType": "div", "attributes": { "class": "ms-bgColor-neutralLighter sp-css-borderColor-neutralLight sp-card-borderHighlight sp-card-subContainer" }, "children": [ { "elmType": "div", "attributes": { "class": "sp-card-previewColumnContainer" }, "children": [ { "elmType": "p", "attributes": { "class": "ms-fontColor-neutralSecondary sp-card-label" }, "txtContent": "[!Recipient.DisplayName]" }, { "elmType": "div", "style": { "display": "flex" }, "children": [ { "elmType": "p", "attributes": { "class": "sp-card-userEmptyText" }, "txtContent": "=if(length([$Recipient]) == 0, '–', '')" }, { "forEach": "personIterator in [$Recipient]", "elmType": "a", "attributes": { "class": "=if(loopIndex('personIterator') >= 5, 'sp-card-userContainer', 'sp-card-userContainer sp-card-keyboard-focusable')" }, "style": { "display": "=if(loopIndex('personIterator') >= 5, 'none', '')" }, "children": [ { "elmType": "img", "defaultHoverField": "[$personIterator]", "attributes": { "src": "=getUserImage([$personIterator.email], 'S')", "title": "[$personIterator.title]", "class": "sp-card-userThumbnail" }, "style": { "display": "=if(length([$Recipient]) > 5 && loopIndex('personIterator') >= 4, 'none', '')" } }, { "elmType": "div", "attributes": { "class": "ms-bgColor-neutralLight ms-fontColor-neutralSecondary sp-card-userOthers" }, "style": { "display": "=if(length([$Recipient]) > 5 && loopIndex('personIterator') == 4, '', 'none')" }, "customCardProps": { "formatter": { "elmType": "div", "attributes": { "class": "sp-card-personCallout" }, "children": [ { "forEach": "personIterator in [$Recipient]", "elmType": "div", "attributes": { "class": "sp-card-userContainer sp-card-userCustomCard" }, "style": { "display": "=if(loopIndex('personIterator') < 4, 'none', '')" }, "children": [ { "elmType": "img", "defaultHoverField": "[$personIterator]", "attributes": { "src": "=getUserImage([$personIterator.email], 'S')", "title": "[$personIterator.title]", "class": "sp-card-userThumbnail" } } ] } ] }, "openOnEvent": "hover" }, "children": [ { "elmType": "span", "txtContent": "='+' + toString(length([$Recipient]) - (4))" } ] } ] }, { "elmType": "div", "attributes": { "class": "sp-card-userTitle" }, "style": { "display": "=if(length([$Recipient]) == 1, '', 'none')" }, "defaultHoverField": "[$personIterator]", "txtContent": "[$Recipient.title]" } ] } ] }, { "elmType": "div", "attributes": { "class": "sp-card-displayColumnContainer" }, "children": [ { "elmType": "p", "attributes": { "class": "ms-fontColor-neutralSecondary sp-card-label" }, "txtContent": "[!Values.DisplayName]" }, { "elmType": "p", "attributes": { "title": "[$Values]", "class": "ms-fontColor-neutralPrimary sp-card-content sp-card-highlightedContent", "role": "heading", "aria-level": "3" }, "txtContent": "=if ([$Values] == '', '–', [$Values])", "style": { "word-break": "keep-all" } } ] }, { "elmType": "div", "attributes": { "class": "sp-card-displayColumnContainer" }, "children": [ { "elmType": "p", "attributes": { "class": "ms-fontColor-neutralSecondary sp-card-label" }, "txtContent": "[!Rationale.DisplayName]" }, { "elmType": "p", "attributes": { "title": "[$Rationale]", "class": "ms-fontColor-neutralPrimary sp-card-content sp-card-multiline" }, "txtContent": "=if ([$Rationale] == '', '–', [$Rationale])", "style": { "text-align": "justify", "height": "200px", "word-break": "keep-all" } } ] }, { "elmType": "div", "attributes": { "class": "sp-card-displayColumnContainer" }, "children": [ { "elmType": "p", "attributes": { "class": "ms-fontColor-neutralSecondary sp-card-label" }, "txtContent": "[!Created.DisplayName]" }, { "elmType": "p", "attributes": { "title": "=if ([$Created.displayValue] == '', '–', [$Created.displayValue])", "class": "ms-fontColor-neutralPrimary sp-card-content " }, "txtContent": "=if ([$Created.displayValue] == '', '–', [$Created.displayValue])" } ] }, { "elmType": "div", "attributes": { "class": "sp-card-lastTextColumnContainer" }, "children": [ { "elmType": "p", "attributes": { "class": "ms-fontColor-neutralSecondary sp-card-label" }, "txtContent": "[!GMT_x0020_Edition.DisplayName]" }, { "elmType": "div", "attributes": { "class": "sp-card-content sp-card-formatterRef" }, "children": [ { "columnFormatterReference": "[$GMT_x0020_Edition]" } ] } ] } ] } ] } }Solved4KViews0likes2CommentsError cannot save term in required managed metadata column
My SharePoint document libraries that have required managed metadata columns without a default term cannot save metadata if a user follows these steps: Create a new Word or PowerPoint document and start editing the content or name Close the document tab Go to the document library view to resolve the "Required info" prompt Use any properties controls -- sidebar, in app, edit in grid view -- to try to change the "Type of Document" column I created to select a term. The term will show briefly until user hits "enter" to escape and save the selected term Properties window refreshes, selected term disappears and messages say "missing required info" No issues with Excel. No issue if there is a default term, but I don't want that. I cracked open properties in Windows to see that the column on these particular documents is not getting saved as "Type_x200_of..." but "Type of" ...3.1KViews0likes2CommentsThe required feature is not enabled for this column type error when creating taxonomy column
I am trying to create a new taxonomy (managed metadata) column in SharePoint online. However, I am facing below error when try to select term set for this column. The required feature is not enabled for this column type. I have tried this on both team sites and communication sites. I also don't see any OOTB managed metadata columns such as Enterprise Keywords present in the site collection. Is this an issue with my tenant?6.2KViews0likes6Comments