User Profile
DavidWexelblat
Brass Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Re: News Webpart not showing text/content when creating News Post from Custom Page Template
grant_jenkins That text snippet comes from the Description box on the Page Details page (which is also used for the snippet in search results). It appears that when a page is created from a built-in template (or from no template), then SP fills in the Description with the first NN characters of the page's text. But if a custom template is used, then this does not happen, resulting in a blank Description, hence no News web part or search results text snippet. I just ran into this with a site I'm building and creating a set of templates for, and was searching to see if this is a known behavior. It's not that hard to work around, now that I understand what's happening. But it sure is odd.1.4KViews1like0CommentsRe: Any way to exclude Templates folder from Highlighted Content Web Part?
Whether the query is KQL or CAML depends on which source chosen for the HCWP. Since I'm looking at "The page library on this site", CAML is what it takes. I can play around with one of the larger sources and KQL, but my base issue still holds - my collaborators have no chance of being able to deal with any query language, and it just shouldn't be needed for this use case.3.2KViews0likes0CommentsRe: Any way to exclude Templates folder from Highlighted Content Web Part?
NicolasKheirallah CAML, not KQL, since I'm using "The page library on this site", and that's what I did, as I noted in the post above your reply. But I had to spend well over an hour figuring out how to make this CAML query, never having done it before (learning the syntax, discovering the "Scope" parameters, etc.), for something that shouldn't even be necessary - there's no way templates should be included in "highlighted content" when the page library is the source. It makes absolutely no sense. And having to tailor queries is a far bigger PITA than selecting fields on the filter UI, which makes this approach problematic for page maintenance/site reuse. I'm the only one on my team who has any chance of sorting out queries at this level. My non-tech-savvy content collaborators shouldn't have to deal with this complexity for something so simple.3.3KViews1like2CommentsRe: Any way to exclude Templates folder from Highlighted Content Web Part?
SvenSieverding - I played around with that JSON formatting, and it's way beyond me. That example didn't work as is (I know parts of it are looking for specific fields, but I didn't even get any thumbnail images in my grid, and got completely lost trying to figure that out). I decided to try doing a calculated field to look for a specific tag in the page title, which was easy to do - but HCWP doesn't show the calculated field as a "page attribute" for filtering, only title and a couple of choice fields I set up as page metadata. Sigh. So I came up with another solution - using a CAML query with "Scope='FilesOnly'" on the <View> tag. CAML doesn't traverse folders by default, and this keeps the "Templates" folder itself from showing up in the results. It works, but I'm not a fan of needing to build CAML queries for what should be simple stuff. Makes page maintenance and reuse far more hassle than it should be.3.5KViews0likes4CommentsRe: Any way to exclude Templates folder from Highlighted Content Web Part?
Thanks SvenSieverding. I'd already looked at using a doc library view for this, but I don't want a list and wasn't impressed with tiles. I am not experienced with custom json formatting; that example you linked kinda blows my mind. I will dig into that deeper. This really should be built-in. There's no reason whatsoever for items in the Templates folder to ever be included in "highlighted content"...3.5KViews0likes5CommentsAny way to exclude Templates folder from Highlighted Content Web Part?
I am trying to figure out a way to exclude pages under "Site Pages/Templates" from the Highlighted Content Web Part (Source = "The page library on this site"). Using a static metadata column doesn't work, because any page created from that template will carry that metadata field along with it, making it impossible to distinguish templates from pages with that field. I've been trying to figure out how to do this with a calculated column, but the only solution I've come up with at this point is to put a bogus key string in the template's page title, then create a calculated field that distinguishes between pages and templates based on the presence of that substring in the page title. But that causes the bogus key string to appear in the template name in the New Page templates gallery, which is ugly.3.9KViews0likes7CommentsRe: Error: "The Server Was Unable To Save The Form At This Time"
Microsoft appears to have fixed this since yesterday. I am now getting the error message configured on the list's "Validation Settings" page rather than the boilerplate error message. Yesterday I was still getting the boilerplate.18KViews1like2CommentsRe: Error: "The Server Was Unable To Save The Form At This Time"
Same. Form validation is working, but when validation fails, the error message displayed is the boilerplate "The server was unable to save the form at this time", not the message specified in the "User Message" field of the list's "Validation Settings" page. This behavior changed for existing lists recently (last week? not sure; noticed it on Friday) - they used to display the configured error message but are now displaying the boilerplate.19KViews0likes0CommentsRe: Creating a list via "From Existing List" doesn't copy Advanced Settings
The input form issue noted above appears to be limited to the Title field - conditional formulas are cloned for other fields. So those two items are likely directly related. I did discover that list-level Validation Settings are not cloned from the template into the new list either. Sigh...1.9KViews0likes0CommentsRe: Creating a list via "From Existing List" doesn't copy Advanced Settings
ganeshsanap Thanks. I also found 2 other things that didn't get properly cloned into the new list: The Title field has a calculated default value in the template list, but this was missing in the cloned list. The input form is customized (selected fields and formatting). One of the fields has a conditional formula, but that wasn't copied from the template to the new list (hence the field was always visible when it's supposed to be conditionally visible).2KViews0likes1CommentCreating a list via "From Existing List" doesn't copy Advanced Settings
I have a template list (SPonline, Modern pages) for which I have disabled attachments and comments via Advanced Settings. When this template is cloned into a subsite, by creating a new list on the subsite with the "From Existing List" option, the "Advanced Settings" on the new list are at defaults, not matching the template's settings. I'm not sure if this is a feature or a bug (feels like a bug to me).Solved2.3KViews0likes3CommentsRe: Gray bar appearing in bottom of header image
Ukiman1014 For this misbehaving page, I see exactly the behavior/CSS issue described above - same elements, same differences in the CSS. I haven't yet drilled into the correctly-working pages to see what differences there might be. I'm limited in what I can do, as I'm not any form of admin, just a somewhat-more-tech-savvy-than-ordinary guy creating intranet pages.3.4KViews1like0CommentsRe: Gray bar appearing in bottom of header image
Ukiman1014 Interestingly, I am using the same stock image on the page I created yesterday as on 6 other pages that I created on Friday, none of which show this problem. And on the thought that it might be the image itself, I tried half a dozen or so random stock images in different categories, all of which show the gray bar on this one page. Ah well. C'est la vie. Thank you for the update.3.5KViews1like2CommentsModern Pages File Viewer full-screen drops back to Document Library
I am setting up a basic training site using SPOnline modern pages. For each lesson, I have a page with descriptive text, with File Viewer web parts for the training video and associated PDF'd slide. The underlying training documents are stored in a document library set aside for this purpose. This took me just a few minutes to set up and works exactly as I want it to, except for one problem. If you click the "Open in Browser" button on the embedded video player, or the "Open in a New Windows" button on the embedded PDF viewer, a new tab opens with the video/PDF as expected. But if you click the "x" button on the viewer's toolbar, rather than closing the just-opened tab, it instead drops into the document library in that tab. I do not want my users in the document library. I only want them to access the content through the lesson pages. Is there a way to make the tab close when that "x" button is clicked, or hide/disable it?2.2KViews0likes3Comments
Recent Blog Articles
No content to show