https://discord.umbraco.com
Join Discord
Loads balance Umbraco 13+
t

TigerMan

9 months ago
Hi I have an Umbraco 13 which I've developed locally and it's working nice. I need to upload this to a new environment but a last minute change had meant the environment is going to be load balanced. How can I test this locally (if possible) to ensure the site doesn't break in a load balanced environment? This is applicable to Umbraco 13 and 15 Thank you
t
k
m
  • 3
  • 3
  • 37
Umbraco 13 media picker validation
a

Anders Bjerner

over 1 year ago
In Umbraco 13, the media picker has some server-side validation to check whether a media has been selected if the property is marked as mandatory. When the user clicks the Save and publish button, a call is made to the
/umbraco/backoffice/umbracoapi/content/PostSave
, and part of the response looks like this:
json
{
  ...
  "ModelState": {
    "_Properties.image2.invariant.null.value": [
      "Value cannot be empty"
    ]
  }
  ...
}
Anyone know where this validation is handled? I haven't been able to find it anywhere in the code related to the media picker.
a
m
  • 2
  • 2
  • 37
[Solved] Umbraco Forms in a Modal with conditions
m

Matt Wise

over 1 year ago
[Solved] Does anyone have this working? Before I go down a rabbit hole of trying to workout why my optional fields are always shown
m
t
  • 2
  • 11
  • 37
custom view for blocklist with angular controller doesn't update
m

mcgern

over 1 year ago
I tried the example code from https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/build-custom-view-for-blocks#id-2.-retrieve-the-image-using-an-angularjs-controller in a custom view for a blocklist item that contained an image. It does not seem to update at all and only works when the document is loaded or saved, not when the blocklist item editor flyout is submitted. My angular knowledge is slim, but I can confirm that the code works when the documented is loaded, just not when it's updated. AFAIK I have used the code as-is without changes. On umbraco v13.2 Thanks.
m
l
  • 2
  • 3
  • 37
Open API TS Generator (Hey-API)
l

leekelleher

over 1 year ago
Heads up, we noticed that the
openapi-typescript-codegen
npm library that we're using to generate the OpenAPI TypeScript client (model/service bindings) for the Management API is being deprecated, and there's an active fork that has been adding new features called
@hey-api/openapi-ts
, so we've migrated over to that library (for the next incremental Beta release). Links for bedtime reading... https://github.com/ferdikoomen/openapi-typescript-codegen?tab=readme-ov-file#important-announcement https://github.com/hey-api/openapi-ts https://heyapi.vercel.app/openapi-ts/migrating.html There are small differences in the options for the
@hey-api/openapi-ts
tool, I've outlined them in this Bellissima PR: https://github.com/umbraco/Umbraco.CMS.Backoffice/pull/1565 Back with my community package dev hat on, I'll also be migrating over to use this library on Contentment.
l
w
+2
  • 4
  • 9
  • 37
Why two ImageSharpe and which to use in Umb13?
m

Matthew Alexandros

over 1 year ago
I saw the latest patch motes and saw that for umb13 it says it updated both ImageSharpe 2 and 3. Just wondering if anyone knows why there are two versions (backwards compatibly?) And how do i know which one i sm using?
m
s
  • 2
  • 1
  • 37
Umbraco Api Forms
y

Yasein H. Burqan

almost 2 years ago
How can I applying a form by coding? using Umbraco API controller ?
y
j
+2
  • 4
  • 4
  • 37
Member authorisation - custom 401
r

rockerby

almost 2 years ago
Hello! I'm trying to create a redirect back to the login page for users when using an
UmbracoAPIController
and the
UmbracoMemberAuthorize
attribute.
public class MyController : UmbracoApiController
{
  // ...
  [HttpGet]
  [UmbracoMemberAuthorize]
  public async Task<IActionResult> MyFunction(string param1)
  {
    // Some code!
  }
}
The above gives me an empty 401 response code and I'm trying to redirect the user back to the login page. I could take the
[UmbracoMemberAuthorize]
attribute off and deal with auth myself, but feels like there should be a better solution that I don't understand. I've tried the solution here https://our.umbraco.com/forum/using-umbraco-and-getting-started/111100-umbraco-10-redirect-unauthenticated-user-challange-result-to-an-umbraco-page but this hasn't worked. Perhaps it's as I'm using OpenID, but
authorizeResult
is always giving a
Succeeded
. Any pointers on this would be really helpful!
r
d
  • 2
  • 1
  • 37
Embed Youtube Videos in Umbraco RTE
o

Owain

over 2 years ago
Has anyone found a way to embed videos from YouTube with the nocookie option when using the Embed button in the TinyMCE editor? e.g. If I paste "https://www.youtube-nocookie.com/embed/dug56u8NN7g" in to the Url field, I get "not supported" message. Is there a way to embed the nocookie.com youtube url this way?
o
h
+6
  • 8
  • 51
  • 37
Umbraco Cloud Trial
g

GrohTech

8 months ago
I'm testing out the Umbraco Cloud Trial, but authentication keeps failing when I try to clone the project. fatal: Authentication failed for 'https://scm.umbraco.io/my-test-project.git' There was a login modal that popped up as I was cloning which prompted me to 'sign in to https://scm.umbraco.io'. I was assuming this should be the same creds created for the Umbraco Cloud trial. Is this incorrect? **If this is correct, I triple checked my password and logged out/logged in with that password in Umbraco Cloud without issue. This thread also gave me that impression: https://our.umbraco.com/forum/umbraco-cloud/97982-local-clone-doesnt-work
g
r
s
  • 3
  • 6
  • 36
Previous575859Next

Umbraco

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

Powered by