https://discord.umbraco.com
Join Discord
Reset password for member
a

Ambert

about 2 years ago
Anyone an idea how I can get an IUser of a member for the following method?
csharp
var result = _passwordChanger.ChangePasswordWithIdentityAsync(changePasswordModel, _memberManager).Result;
This will change in V13 and will require a IUser to be added as a third parameter. Or is this method not mend to be for usage to reset frontend members? (Edit: I tried the
var result = _memberManager.ResetPasswordAsync(member, model.ResetKey, model.ConfirmPassword).Result;
route however this has other implications for my usage)
a
h
b
  • 3
  • 10
  • 62
Migrating from Grid to Block Grid
c

CodeSharePaul

about 2 years ago
We have used uSync Migrations to migrate a site from Grid to Block Grid. It works great but it doesn't do anything with Embed, Form or Macro. It creates them as blocks and sets a property which is a label. Which is understandable. But we still need to work out what we are going to do with them. What have you done with your macros, forms and embeds when migrating from Grid to Block Grid?
c
a
  • 2
  • 6
  • 62
System.MissingMethodException after upgrading to .NET9
x

xopabyteh

7 months ago
Hey lads, Since we upgraded to .NET9, we're getting this same exception periodically on our azure app service. We're using umbraco v14. All help appreciated.
Message: Method not found: 'System.Threading.Tasks.Task`1<Int32> Microsoft.EntityFrameworkCore.RelationalQueryableExtensions.ExecuteDeleteAsync(System.Linq.IQueryable`1<!!0>, System.Threading.CancellationToken)'.

Parsed stack trace:
OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreTokenStore`5+<PruneAsync>d__44.MoveNext
System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start
System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start  
OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreTokenStore`5.PruneAsync
OpenIddict.Core.OpenIddictTokenManager`1.PruneAsync
OpenIddict.Core.OpenIddictTokenManager`1.OpenIddict.Abstractions.IOpenIddictTokenManager.PruneAsync
Umbraco.Cms.Infrastructure.BackgroundJobs.Jobs.OpenIddictCleanupJob+<RunJobAsync>d__11.MoveNext
https://cdn.discordapp.com/attachments/1345342008448909373/1345342009120002099/image.png?ex=67c432e2&is=67c2e162&hm=26da7b446ece33217cdada79c7ca69ffa95b58ae74218db5a19c5a0094a682bf&
x
  • 1
  • 2
  • 61
[Solved] Umbraco version 13.5.2 Unable to Save & Publish Page "Payload too large"
d

Dann

8 months ago
Hi all, when trying to save and publish a page I am getting this error: angular.js:15697 Possibly unhandled rejection: {"errorMsg":"An error occurred","data":"The page was not displayed because the request entity is too large.","status":413} /umbraco/backoffice/umbracoapi/content/PostSave 413 (Payload Too Large)
d
s
  • 2
  • 3
  • 61
Expand nested properties in Content Delivery API for unknown structure
k

Khattab

about 1 year ago
Hello, we are using Umbraco 13 for building a Headless site against NextJs , for the pages, we defined a couple of page placeholders “Block List” properties that hosts the page components, within those components there are some components that play as layout components - container, row col splits.. etc, so those components have their own block list fields. As we are using Content Delivery API V2 To get those block list fields we use
expand=properties[$all[properties[$all]]
, but this expand fields for two levels, so we added and extra level to support blocks on third level, but this approach is not maintainable as we cannot predict all the scenarios and the block list fields could be presented in any level, Using V1
expand= all
works fine as it expands all props all the way. So is there a way to get this to work dynamically, for example a configuration to define couple of field aliases to expand by default or something like that. Thanks!
k
r
j
  • 3
  • 3
  • 61
Umbraco 10 - Umbraco Forms - Issue with send email
r

RichHamilton

about 1 year ago
Umbraco 10 .8.3 Umbraco Form 10.5.6 Not defaulting to use sender email (from) address from Umbraco:CMS:Content:Notifications:Email or Umbraco:CMS:Global:Smtp:From I have even tried adding an email to Umbraco:Forms:Email:DefaultSender and none od those are being picked up by default to the emails aren't being sent unless the user adds a SenderEmail for each form (we have quite a few in this instance). Also, it means that we can't change these settings per environment. Anyone else had this issue at all ? And resolved it? Thanks Richard #umbracoforms
r
b
  • 2
  • 2
  • 61
The required anti-forgery cookie "__RequestVerificationToken" is not present
s

si26

about 2 years ago
Hi there, I'm trying to clear out some of the log errors on a large project on Umbraco 8.18 I've inherited. One of the regular errors being through is in the attached image. Could anyone explain generally what causes this? Any what I should be looking out for in the code to correct it? I'm guessing its something to do with forms - Umbraco forms is used extensively so I don't know if its exspected with that
s
h
  • 2
  • 5
  • 61
V13: Get items of area in custom block grid item view
c

CaptTaifun

about 1 year ago
I am currently creating custom block views for the back office. I have a block type “Tabs” and a block type “Tab”. In tabs, I want to display the titles of the tab properties as, well, tabs. And the actual content (also an area) of the tab type should be added as tab-content. This works so far, with the following code. My problem is: As long as I output the tag in the tab.html, it fits, each area is created in its own tab-content div (as defined in tabs.html). But as soon as I want to render the areas of the tab in tab.html, the content of all tabs is in a single tab-content div. Why is that? What am I doing wrong? How do I fix this? Can someone please help me? tabs.html: {{ getBlockTitle(block) }} <div class="tab-content" ng-repeat="block in blocksInMainArea" ng-include="getBlockTemplateUrl(block)" ng-init="block = block.$block.layout.$block"> tab.html: {{ block.data | json }} tabsBlock.controller.js: angular.module("umbraco") .controller("tabsBlockController", function ($scope) { const blockGridItem = $scope.$parent.$parent.block; $scope.blocksInMainArea = blockGridItem.layout.areas.find(area => area.$config.alias === "main").items; $scope.getBlockTemplateUrl = function (block) { return block.config.view; }; $scope.getBlockTitle = function (block) { return block.$block.data.title; }; });
c
d
  • 2
  • 7
  • 60
Application insights for umbraco 10
a

Ask

about 1 year ago
Hi everyone I need to connect the logging of my umbraco 10 installation to application insights in azure (umbraco also runs on an appservice in azure) I can only find articles about for umbraco 8. Can anyone help with umbraco 10?f
a
j
  • 2
  • 1
  • 60
Making PDF thumbnails with ImageSharp
s

skttl

over 1 year ago
Anyone know of a PDF provider for ImageSharp, so I could do like /media/xyz/document.pdf?format=jpeg?
s
r
+3
  • 5
  • 8
  • 60
Previous363738Next

Umbraco

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

Powered by