https://discord.umbraco.com logo
Join Discord
Powered by
# help-with-other
  • Issues with adaptive brightness/lenovo vantage OLED protection
    m

    Mike Chambers

    11/14/2024, 3:22 PM
    Recently purchased a Lenovo Carbon x1 12th gen with the OLED display. The adaptive brightness/OLED protection dims the taskbar/background apps. However, it also kicks in whilst watching videos/on MS teams video calls and dims the video presumably as the presence detection can't distinguish between me being idle, over engaged in watching a video. I konw I can just turn all the adaptive brightness off.. but that seems a little sledgehammer and looses the burn in protection for the OLED display.... Just wondered if anyone else might have the same issues.. (lenovo premium support are telling me I'm the only one!)
    s
    m
    • 3
    • 3
  • Examine - Document Level Boost Changes
    n

    Nik

    11/19/2024, 2:25 PM
    Hi All, I'm trying to replicate some code from a v8 site into a v13 site. In the v8 site, there was a hook into the document writing event to apply a document level boost based on various factors. In v13, I'm able to get to the same event without an issue, however Document no longer contains a "Boost" property. The Lucene docs say this:
    Copy code
    text
    If you previously used the setter of Document.Boost, you must now pre-multiply the document boost into each Field.Boost. If you have a multi-valued field, you should do this only for the first Field instance (ie, subsequent Field instance sharing the same field name should only include their per-field boost and not the document level boost) as the boost for multi-valued field instances are multiplied together by Lucene.
    My problem is, I don't understand what it's saying or how I should modify the code so that things are "boosted" correctly - does anyone have any pointers?
    j
    • 2
    • 3
  • Azure Open AI - how to put a chat bot / assistant on your Umbraco website!
    s

    SiempreSteve

    11/25/2024, 10:27 AM
    Inspired by the recent talk by Henk Boelman at the UK Umbraco festival I wanted to add a AI powered chat / assistant to a client's website for a bit of wow. I want to have this thing take an API json feed of a simple product catalogue and then allow the user to have recommendations from it. I've got as far as creating an assistant in the Azure AI Studio - it works nice enough though I had to upload a manual json file for now. My next step is to integrate this with my website. Not sure how to start that - I don't have a react site (as per all the MS demos) and want to keep this in vanilla JS / using my Umbraco backend. Has anyone done this? Any tips appreciated oin: 1) How I get the assistant to use an api endpoint and update daily for the product catalogue 2) How to integrate / drop it on my site.
    • 1
    • 1
  • DevOps build Validation on PRs...
    m

    Matt Wise

    11/27/2024, 11:12 AM
    I have a pipline that triggers another pipeline infrastrcture -> build & deploy I want to have just infrastructure run on PRs containing yml and tf changes.. and build & deploy to run if there are only code changes. website path filter works -
    /*; !/**/*.tf; !/**/*.yml
    infrastructure -
    /pipelines/**/*;/tf/*
    or
    /**/*.yml;/**/*.tf
    I have a PR making changes to the yml files in pipelines but no build is triggered any ideas?
    • 1
    • 1
  • [Solved] Generate Models from Swagger
    c

    Craig100

    11/27/2024, 12:19 PM
    Just trying to save time really, does anyone have any recommendations for ingesting a Swagger endpoint and producing C# models from it? Thanks 🙂
    s
    s
    • 3
    • 6
  • Help reduce high bandwidth caused by numerous bots
    j

    Jemayn

    12/02/2024, 9:02 PM
    We have a site with 9 country domains, in our Google Analytics we see 100-200 visitors across all 9 a day, but tens of thousands of requests from a long list of bots/crawlers. We have tried disallowing several of them in our robots.txt, but new ones keep popping up, and some of them also completely ignore robots.txt. Has anyone else experienced something similar, and does anyone have a good way to prevent these bots from hitting your site? Ps. This is a Cloud site, so the process of reaching out to support and getting a list of user agents to then deploy a robots.txt disallow rule based on that and then waiting for more data is very slow and frustrating.
    a
    u
    +4
    • 7
    • 20
  • AI powered code reviews
    r

    rockerby

    12/05/2024, 8:46 PM
    Hello community! As with most people I’ve been keeping an eye on how AI can enrich my life as a developer. One thing that I struggle with, being self employed, is there’s no-one to review my code. Enter https://www.coderabbit.ai/ I’d be interested to hear people’s opinions if they’ve used this or similar tooling. The majority of the work I do is Umbraco, but there’s some WordPress going on there too.
    l
    • 2
    • 1
  • [DevOps] What do you use for Infrastructure as Code with IIS on Windows Server?
    m

    Matthew Hart

    12/17/2024, 3:21 PM
    Has anyone tried doing IaC with IIS on a VM using a tool like ansible, chef or puppet? Which one would you recommend? What difficulties did you encounter? Is there better tools to use? Mainly want to use it for App Settings management when performing a deployment. I am aware of Azure App Configuration but not considering that yet.
    s
    r
    +2
    • 5
    • 6
  • Mailing list choices please
    c

    CarlCod_es

    12/19/2024, 4:02 PM
    Hey folks, on the look out for a mailing list with the emphasis on free for our community event so we can manage a mailing list. Mailchimp is one we've used in the past, but curious what everyone uses. Must allow easy newsletter signups, and manage all the GDPR goodness, being free is a big bonus. Thanks all 🙂
    s
    • 2
    • 1
  • uSync 4 - Umbraco 7
    t

    tommot2582

    01/03/2025, 11:42 AM
    I think I know the answer to this, but thought I'd cast it out to see if anyone else has found a way. Is there any way of filtering/excluding content types or content paths when using uSync 4? There's an umbraco 7 site that I need to create a packer for, and would like to ignore a large chunk of nodes.
    k
    • 2
    • 2
  • What's happened to VS Code?
    c

    Craig100

    01/06/2025, 4:04 PM
    I used to be able to open any web site's code by clicking a folder and then "Open folder in VS Code". Now VS Code refuses to even show an old site's code because I don't have .NET Framework installed. I don't want to run it, I just want to see the code for comparison. Was never a problem till the last few weeks. I guess I'll have to find a different text reader then (that's all I use VS Code for anyway tbh).
    m
    c
    • 3
    • 5
  • How to check if an image is generated with AI ?
    s

    Sebastian Dammark

    01/07/2025, 1:55 PM
    Is it possible to check with Microsoft Azure Computer Vision API, if an Image is generated with AI ?
    c
    • 2
    • 2
  • Umbraco Perfion sync
    r

    RobertChill

    01/07/2025, 3:37 PM
    Hi everyone! I'm curious if anyone here has experience building a synchronization solution between Perfion and Umbraco. We're looking for insights or even shared solutions to help with our project. We heard that there was an expectation for Umbraco to potentially take on this task, but today we learned that it might not be prioritized this year. Given this, we're exploring other options and would love to hear from anyone who has tackled this integration before. If you have any advice or are willing to share your work or approach, we'd greatly appreciate it! 😊
  • Running Luke debug tool for Lucene
    w

    weedroid

    01/08/2025, 12:46 PM
    Hi, trying to use the Luke tool supplied with Lucene to investigate search issues on an umbraco site but can't get it running. I get the following error when running Luke.cmd (Windows 11)- "Could not create the Java virtual machine. A fatal exception has occurred. Program will exit." Has anybody else encountered this before? I've increased the JS heap size to 1 gig which is the most common suggestion for this error, but it's still occurring.
    m
    l
    • 3
    • 7
  • Reading names from url in different languages
    b

    Bram

    01/08/2025, 2:17 PM
    Hi all, I'm working on a feature in which I can find a certain item based on its URL, the site is in multiple languages and one of those is german. Since the german language uses the umlaut, which is parsed in an url, I can't match the correct string. For example: I'm trying to match a string "für Umbraco" In my url I'll have: mysite.com/fuer-umbraco Does anyone know how I can parse the string from the query to convert "ue" to "ü". All I've been able to find is to manually check some characters, which is ugly in my opinion.
    j
    • 2
    • 3
  • Slack
    h

    huwred

    01/15/2025, 4:14 PM
    Anyone else having issues with slack, app just crashes on my phone
    r
    • 2
    • 2
  • Umbraco Upgrader(in 3days)
    p

    ProBot ✨

    01/16/2025, 5:54 AM
    @User May I suggest “all” instead of "guys"? We use gender inclusive language in this Discord 😀 ([read more](https://skrift.io/issues/happy-new-year-umbracians-let-s-start-our-conversations-friendly/))
    m
    j
    • 3
    • 2
  • Correct way to get dictionary items in Controller in 13 and above?
    m

    marcusjmsweden

    01/20/2025, 11:59 AM
    What is the best practice to get dictionary item in a controller action now? I am thinking either localizationService or ContextAccessor, which is "heavier" to use? I still need to get the current language somehow right?
    d
    s
    s
    • 4
    • 5
  • Umbraco Forms 15 Default Theme Files
    r

    Robulon

    01/21/2025, 3:24 PM
    Howdy all! I'm not sure if I'm looking in the right place but I'm trying to find the Umbraco 15 Forms Default Theme files - you can see that on this page for the 15.latest documentation it only goes up to 14: https://docs.umbraco.com/umbraco-forms/developer/themes. Should I be looking anywhere else for this or do you think the issue is that the documentation simply hasn't been updated yet? TIA!
    s
    • 2
    • 2
  • [Solved] Dropzone.js with BeginUmbracoForm
    c

    Craig100

    01/24/2025, 6:19 PM
    V13.5.3 Has anyone managed to get Dropzone.js working with a form built with BeginUmbracoForm? I have a form that has 3 text inputs and a file input to upload a photo. If I just use a file input type and don't attach Dropzone it all works swimmingly. When I attach Dropzone, the UI part looks great, but the IFormFile doesn't get populated in the controller. All the other fields do, so it's getting the right route, but there's something amiss in the Dropzone config I just can't get to the bottom of. If anyone's used it and got it working, I'd love a chat 😉 Meanwhile I'm having to show an ugly "Choose file" button. Thanks.
    m
    • 2
    • 4
  • Load testing tools/strategies
    j

    Jemayn

    02/06/2025, 9:28 AM
    Looking to introduce load testing more on our sites, but it's something we do very little atm, so was hoping anyone here would have some experience to share 🙂 Been testing out k6.io as we'd want something that's quick to set up and easy to maintain. The ideal would be that we could continuously test a project while it's being developed and thus be able to catch poorly performing sections as they are made.
    r
    j
    e
    • 4
    • 6
  • SQLite - tool - suggestions ?
    k

    Kevin Jump

    02/07/2025, 10:15 AM
    What are people using (if anything) for looking at SQLite databases ? i am using the SQLite and SQL Server compact toolbox extension for visual studio. (https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox) which is OK, but a little clunkly, and really minor annoyance is i can't seem to rename the connections, so when i have more than one open it looks like this. which isn't ideal. - anyone else got a good tool ? https://cdn.discordapp.com/attachments/1337366081857257496/1337366082209583104/image.png?ex=67a72eb9&is=67a5dd39&hm=b1dee0dd8dbec02d52f6ca0f10acd4037e5e41c4770476d6b8404c9627a99a86&
    s
    m
    +8
    • 11
    • 22
  • uSync Migration - Nested content to Block list
    t

    Thomashdk

    02/12/2025, 2:56 PM
    ** Hi Anyone had this issue, when using the Usync migration tool ? Publish Failed: FailedPublishPathNotPublished [] I'm on Umb13 and trying to convert nested content to block list... https://github.com/Jumoo/uSyncMigrations/issues/269#issuecomment-2244537806 Overall it works, but it fails if a parent node are unpublish, when it tries to publish a converted node
  • Back office images low res when using slimsy-picture tag
    c

    Craig100

    02/16/2025, 9:04 PM
    Umb V13.6.0, Slimsy V5.1.2 Using an Image block in a BlockGrid, I'm finding the images displayed in the back office appear to be low res while they look fine on the site itself. The relevant image block code is this:-
    Copy code
    if (Model.Content.Image is MediaWithCrops theImage) {
                    <slimsy-picture media-item="@theImage" css-class="lazyload img-fluid" crop-alias="@crop" render-lqip="true" alt-text="@(string.IsNullOrEmpty(imageAltTag) ? "Image Description Missing" : imageAltTag)" size="auto"></slimsy-picture>
    }
    I'm also using the Umbraco.Community.BlockPreview V1.12.2 package and the Badgernet.Umbraco.WebPicAuto V1.1.5 package for image upload resizing. Any clues would be appreciated. Thanks.
    m
    • 2
    • 2
  • Azure devops yml optimization for building Umbraco 15 for app services
    j

    Jack

    02/18/2025, 4:13 PM
    Has any had any experience with setting up a yml devops pipeline for building and deploying to an azure app service before ? I have succesfully made one for building and deploying my Umbraco 15 website (takes around 20-25 min with a staging deployment slots), i feel the time is worse than other projects i have made in the past and could use some inspiration or insight to trim bottlenecks. One thing i have investigated is why my dotnet publish produce a "runtimes" folder with all thinkable platforms (its actually 200 mb, where my project is around 100mb), i tried researching why they are included, and even at one point removed some of the runtime folders i was sure was not in use to only see my app service not being able to run anymore. Does any have insight why this is and Is it really not possible to reduce this ? I takes forever deploying to my app service and afterwards swapping takes everywhere from 5-10 minutes (which feels weird).
    m
    m
    +4
    • 7
    • 85
  • How to embed/require a javascript only once in Razor templates?
    t

    TackleMcClean 🏅

    02/24/2025, 12:47 PM
    This is probably an asp.net mvc question. I have razor partial templates for blocks in my blocklist in Umbraco. Multiple of these blocks can be rendered in the same page. I need to use an external javascript file when these are displayed on the page, but only then, and only one. Preferably I'd like to also control if the script tag ends up in
    head
    or
    body
    . Is this possible to control with razor templates?
    s
    m
    +3
    • 6
    • 16
  • Image Sharp over-aggressive cropping
    c

    Craig100

    02/26/2025, 2:05 PM
    V13.6.0 I have a logo image that is bascially an oval shape. When output on it's own, it's fine. But when it's run through Slimsy and Image Sharp it either flattens off the bottom or the left hand edge, just depending on what pixel size you request. Looking at the output file in the browser, it looks to me as though it's cropping it so hard it's ignoring the anti-aliasing around the curve which results in a pronounced flat. Does anyone know if there are ways to prevent this or even add a little padding maybe? I've tried it as a converted webp and a png with &format=webp but both are the same. Thanks.
    m
    • 2
    • 3
  • Usync Complete - Dashboard is not loading after migration from 8 to 13
    a

    Amir Moradi

    03/11/2025, 11:22 AM
    @Kevin Jump We’ve recently upgraded one of our websites from Umb 8 to 13.6.0. After successful! upgrade, I installed Usync.Complete 13.1.9 but now in backoffice when I try to open Usync dashboard I am getting "Request Error: The URL returned a 404 (not found) : App_Plugins/uSync/backoffice/usync/dashboard.html " The error is similar to https://github.com/KevinJump/uSync/issues/476 but I am still not able to resolve the problem. Even when I try to publish the site, the published files do not contain /App_Plugins/uSync/ folder. Also, after installing Usync.Complete going to settings section, the section name changed to [sync] instead of Settings. Any helps to identify the problem is appreciated.
    k
    • 2
    • 12
  • Rider intellisense for appsettings.json
    a

    Ambert

    03/12/2025, 3:24 PM
    For some reason my intellisense does not work in any appsettings.json. I just can't get it to work.. Tried adding ../ to my "$schema": "../appsettings-schema.json", line, so the path revolves properly, but still no intellisense whatsoever.. However, this does work in VS 😦 https://cdn.discordapp.com/attachments/1349402542806925373/1349402542957924372/image.png?ex=67d2f88c&is=67d1a70c&hm=b35e09121841b170631da1fac6600dcff8d60ce9f7ef8cc8b023e46f158c430c& https://cdn.discordapp.com/attachments/1349402542806925373/1349402543226228806/image.png?ex=67d2f88c&is=67d1a70c&hm=0d3decf91655cea4395970547d07c82176dc605185056903a53ea98d80a5ece7&
    s
    • 2
    • 6
  • 💡 This community help channel has moved
    s

    Sebastiaan

    03/14/2025, 11:51 AM
    This channel is now closed for new topics, head to https://forum.umbraco.com for all questions and answers. For more information about this move, please have a read here: https://discord.com/channels/869656431308189746/1344602175019421736