https://discord.umbraco.com
Join Discord
Examine Sort Order Issue
c

CodeSharePaul

about 1 year ago
Is anyone around to help me solve an examine sort order issue please. I have got it down to a very simple example and I think sorting is broken in examine, or maybe I'm doing something wrong.
c
w
+3
  • 5
  • 17
  • 153
Umbraco Form Data cleanup
j

jonroberts

about 1 year ago
Using Umbraco 13 and Umbraco Forms how easy is it to do the following: - Scheduled Data Cleanup: automatically delete web form data (including uploaded files) after a specified period (e.g., six months, one year). - Manual Data Cleanup: implement a feature allowing a CMS user to trigger the deletion of web form data (including uploaded files) on demand. Thanks @User #forms
j
j
  • 2
  • 4
  • 153
How to add custom languages to the "add language" dropdown in the BackOffice
w

warlloch

over 1 year ago
I have an Umbraco 13 site that needs to include translations for languages that aren't currently included in the language dropdown when you go to add a language in the backoffice. How would I go about adding these languages in? So far I have tried creating a custom locale on my pc in hopes that the backoffice would pull from my locale list when I run my site locally, but I haven't had success there yet. Any and all help is appreciated! https://cdn.discordapp.com/attachments/1197660661275177092/1197660661837201479/language_issue.png?ex=65bc1369&is=65a99e69&hm=fd7668cc9d5a069ddc47b828632dfa999ed18867c0690b219d0a806db7e3012e&
w
j
+2
  • 4
  • 11
  • 153
Hosting Umbraco on a Virtual Directory
o

Owain Jones

about 1 year ago
Hi all, We have a client site that currently sits on a virtual directory e.g.
ourclient.com/news
, where
/news
is our Umbraco site. On the current v8 site, we installed Umbraco itself in a
/news/
folder on the server, and everything worked ok, but that doesn't appear to be supported anymore in v13. I found two GitHub issues relating to this, where Umbraco HQ said they don't plan on supporting this scenario and suggest using a reverse proxy: https://github.com/umbraco/Umbraco-CMS/issues/11891#issuecomment-1570423375 https://github.com/umbraco/Umbraco-CMS/pull/13592#issuecomment-1570421802 but has anyone actually attempted this with a v10+ site? if so, where there any gotchas or sticking points?
o
c
+2
  • 4
  • 9
  • 152
[Closed] AstroJS + Umbraco CMS: documentation contributors wanted
j

jacksorjacksor (Richard Jackson)

over 1 year ago
The [docs](https://docs.astro.build/en/guides/cms/) for AstroJS have a dedicated section called "Use a CMS with Astro" which is currently missing Umbraco. I've started putting together a repo of documentation around such an integration to eventually submit for inclusion and would humbly request anyone who knows anything about the topic to consider contributing! I know folks such as @rickbutterfield, @Louie and @Prenders have dabbled somewhat, so was hoping for a collaborative effort with putting some instructions together. Some guides are just stubs, but some ("Storyblok", "Contentful" and "ButterCMS") are so robust that the Astro docs puts them first in the ordering (they're specifically listed in this array!). The repo I've put together for the documentation is here, readily awaiting your PRs: https://github.com/jacksorjacksor/astrojs-with-umbraco-cms-docs https://cdn.discordapp.com/attachments/1217409689588072519/1217409690305167450/astro-icon-light-gradient.png?ex=6603ec20&is=65f17720&hm=35f6517d81ac9ca764e9d2d2928e183d06823afc1dc790b74eb51132bef0c6ae&
j
p
+13
  • 15
  • 195
  • 151
Trying to add some fields to ExternalIndex and populate them using a custom populator...
t

Tronglonok

over 1 year ago
Using Umbraco 13, I can't find any examples of how to actually do that. I've tried creating a valuesetbuilder, a configureOptions, populator and a notificationhandler. however, whenever I come into my Populator it gets a list of 0 indexes. If I look in the Umbraco code, there's a row with: _logger.LogDebug($"{nameof(PopulateIndexes)} called with no indexes to populate. Typically means no index is registered with this populator."); So my problem seems to be that I can't figure out how to connect my custom populator with the ExternalIndex. Can someone please explain to me how that is done? 🙂
t
m
j
  • 3
  • 4
  • 151
Umbraco upgrade v10 - v13 Timeouts and errors Azure
s

SiempreSteve

about 1 year ago
I keep hitting 500 - The request timed out. The web server failed to respond within the specified time. Can anyone explain 1) The process continues even if I see the error on the front end (I think it does from the logs) 2) If it does continue will it complete succcessfully - I can't seem to wait long enough 3) If I hit the /install again what happens - will it pickup from where it left off or start again. Can I cause database issues? 4) I assume I'm hitting the 240 seconds Azure hard timeout - if this is the case shouldn't the upgrader break the task into smaller chunks so one request doesn't do the full upgrade?! If anyone has any tips on how to get around some of this I'd be keen to hear.
s
s
+2
  • 4
  • 17
  • 149
Block editor custom view? v14.0.0-rc3
j

jojko

over 1 year ago
In Umbraco 13 I was able to point the *"Custom View" *of the block inside the block editor to the
.html
file to get the nice preview of the widget in a block grid. In v14 I assume that since web components are used, "Custom View" field should be pointed to one of them. I stumbled upon an extension type in an
umbraco-package.json
called
bockEditorCustomView
(I assume it's a typo and should be
blockEditorCustomView
?), I've tried to use it and point to JS file with web component, and then pick it from the "Custom View" option in backoffice. However, there are only just a list of all files/folders shown and no block editor custom view that I defined in manifest. How can I acheve this in v14? https://cdn.discordapp.com/attachments/1240303635796332556/1240303636181946420/image.png?ex=66461246&is=6644c0c6&hm=b5c3e626abef6cb1721814dd2f926e2bff5f4529d696c8c50db048e684c87319&
j
r
a
  • 3
  • 11
  • 149
Programmatically creating block list items, and saving to page
l

Lewis Heaton

over 1 year ago
I have a page in Umbraco 13, i'm trying to create a few block list items, then save this to the page. The page is being generated fine when i comment out the setValue for setting the block list item. I found a our.umbraco post from 2020, which pointed to https://github.com/umbraco/UmbracoDocs/blob/e64ec0e5b28b4e5a37b7865691621e45dd82701f/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/index.md which is what i followed. Any docs / suggestions on how to get this working?
l
d
  • 2
  • 7
  • 148
[SOLVED] How do I programmatically create a user with a password?
t

TackleMcClean 🏅

over 1 year ago
I am trying to programmatically create a user but I'm running into problems hashing the password. I have no idea if it's Umbraco or standard .NET core that should handle this. My code looks like this:
private void CreateUserIfNotExist(string email, string password, string? name)
    {
      var user = _userService.GetByEmail(email);
      if (user != null)
      {
        return;
      }

      var newUser = _userService.CreateUserWithIdentity(name ?? email, email);
      var userGroup = _userService.GetUserGroupByAlias("editors") as IReadOnlyUserGroup;

      if (userGroup != null)
      {
        newUser.AddGroup(userGroup);
        newUser.RawPasswordValue = ???? // how to hash password?
        _userService.Save(newUser);
      }

    }
How can I figure out the
RawPasswordValue
? I've tried 5 different ways of dependency inject a password hasher, but I can't find a way to type it to
<IUser>
which is what
CreateUserWithIdentity
returns. The documentation has a page that brings up my hope: https://docs.umbraco.com/umbraco-cms/reference/management/services/userservice/create-a-new-user But it has no example shown at all, broken documentation perhaps?
t
s
  • 2
  • 33
  • 148
Previous151617Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by