https://discord.umbraco.com
Join Discord
How to preserve line breaks from an Umbraco.TextArea?
c

Craig100

over 1 year ago
V13.1.1 I've tried : @Model.Content.OverlayText?.ReplaceLineEndings() but it's still all in one line. This is what the input looks like (below). I've tried soft line endings and hard, both the same. I'd rather not change the control over to an RTE if I can get away with it. Any advice appreciated. Thanks. https://cdn.discordapp.com/attachments/1212812728817680384/1212812729077862441/image.png?ex=65f332df&is=65e0bddf&hm=f6492e7fcb29c69d372317d4d96c58e523aac399e28422178b7b2be68cf3128a&
c
s
+3
  • 5
  • 8
  • 295
Any tutorials or blog posts on adding a new custom field to an existing examine index?
u

_tommadden

over 1 year ago
I'm looking to add a single new field to the external index. This seemed like a trivial task and quite easy in v8 but all I can seem to find so far for modern Umbraco are articles about creating new indexes. TIA, tom
u
j
+3
  • 5
  • 11
  • 291
Umbraco forms - silent error during upgrade migration
w

weedroid

10 months ago
I have a site running Umbraco v13 which I have upgraded from v8 via v10. I am now trying to install the latest version of Umbraco Forms - I have installed the package via Nuget and can load the Forms section in the backend, however doing so shows this error: Invalid column name 'DeleteEntries'. On checking the Installed Packages view I can see there are Pending migrations for the Umbraco Forms package, selecting the option to Run them shows a "successfully completed" message in the front-end but the console the site was run from shows the following errors: [10:35:00 INF] Create Foreign Key: ALTER TABLE [UFUserGroupFormSecurity] ADD CONSTRAINT [FK_UFUserGroupFormSecurity_UFForms_Key] FOREIGN KEY ([Form]) REFERENCES [UFForms] ([Key]) [10:35:00 ERR] Exception (9b7b8baf). Microsoft.Data.SqlClient.SqlException (0x80131904): There are no primary or candidate keys in the referenced table 'UFForms' that match the referencing column list in the foreign key 'FK_UFUserGroupFormSecurity_UFForms_Key'. Could not create constraint or index. See previous errors. Plan failed at step 7c7bc5ee-4c5b-42dc-9576-5ce6dfbddb8e Has anybody encountered this error or similar before, or has any advice on resolving it?
w
o
+2
  • 4
  • 17
  • 290
Upgrading 13 to 15 Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common
r

Rich G

9 months ago
Hey, Attempting to upgrade our 13 project to 15. Apart from a few packages that haven't been upgraded it's going ok, except can't get past this error: NU1608      Detected package version outside of dependency constraint: Umbraco.Cms.Web.BackOffice 13.0.0 requires Umbraco.Cms.Web.Common (>= 13.0.0 && < 14.0.0) but version Umbraco.Cms.Web.Common 15.1.1 was resolved. I get an error in all the following cases: - Removing all references in the project file to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common - Only referencing Umbraco.Cms.Web.BackOffice - Referencing both Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common Looked at removing all references to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common in code, but seems to be baked in, used for Models builder etc.
r
l
+2
  • 4
  • 5
  • 287
Blazor+UmbarcoCMS
m

marcusjmsweden

over 1 year ago
Using this to discuss Content Delivery API and Blazor.
m
l
+9
  • 11
  • 121
  • 283
The factory has not been configured with a proper connection string.
j

jsh6791

over 1 year ago
Hello all. I have an issue I have been trying to track down off and on for a couple days. Recently upgraded from 13.2.1 to 13.2.2. Running vanilla Umbraco; no code modifications, use SQL Server back end. I can run it locally pointing at a SQL server at my web host company and it works fine. When I do a web deploy, I get the message: Unhandled exception. System.InvalidOperationException: The factory has not been configured with a proper connection string. at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.Initialize()... I can connect directly to the SQL server using the exact same connection string info as well, so I know the connection string is correct. I've obfuscated the connecting string below, but here it is. Again, when I run the code locally on my machine, it works fine connecting to this server. "umbracoDbDSN": "Data Source=tcp:s23.winhost.com;Initial Catalog=########;User ID=#######r;Password=#######;Integrated Security=False;TrustServerCertificate=true;", What am I missing? Is something cached on the web host's server? I have completely deleted everything off the server (via FTP) and redeployed, but the same error persists. I appreciate any and every bit of help anyone can provide.
j
s
  • 2
  • 1
  • 281
Forms files missing?
j

Josef Henryson

over 1 year ago
Hi. Docs and code says there should be an UmbracoForms folder in App_plugins. After nuget installation of Forms 13.0.1 I do not have that folder. What might be wrong here? Also the files in Views/Partials/Forms were missing. Downloaded them from docs page though. https://cdn.discordapp.com/attachments/1206882876767997992/1206882876935634984/image.png?ex=65dda044&is=65cb2b44&hm=0314d73b87545d406bcb5592a35d82785133ac4d0ddb372d982d1290158a1e03&
j
m
m
  • 3
  • 6
  • 278
Umbraco 15: The mandatory '{0}' parameter is missing.
t

TheNewGuy

8 months ago
Hi Folks, I am currently trying to deploy my first umbraco site in a Docker container. When going to /umbraco I get redirected to /umbraco/management/api/v1/security/back-office/authorize?redirect_uri=http%3A%2F%2F168.119.242.63%3A44372%2Fumbraco%2Foauth_complete&client_id=umbraco-back-office&response_type=code&state=vGxM08FQSa&scope=offline_access&prompt=consent&access_type=offline and I recieve the error message: error:invalid_request error_description:The mandatory 'code_challenge' parameter is missing. error_uri:https://documentation.openiddict.com/errors/ID2029 I am a bit lost and would appreciate any adice Cheers :)
t
c
+3
  • 5
  • 8
  • 275
Making 2FA Mandatory for Admin Users
p

pdqumbraco

over 1 year ago
Hi All, I've implemented 2FA as specified here - https://docs.umbraco.com/umbraco-cms/reference/security/two-factor-authentication#login-with-2fa-enabled, I just wondering if it's possible to enforce this so back office users have to use 2FA to sign in, rather than it being optional. Thanks
p
s
+5
  • 7
  • 9
  • 275
Umbraco Commerce. How do you handle discounts in the ui?
s

Sander L

over 1 year ago
Hi all, Umbraco Commerce has a great discount rule engine. The only downside is that it is applied to Orders only. How do you manage displaying discounts on the frontend? A lot of shops don't just want to show the discount whenever they are in the checkout, but also on product details/ product overviews. I know there is no built in feature for this (we asked support) so that's why I was wondering how other people handle this. Thanks
s
r
+3
  • 5
  • 11
  • 271
Previous678Next

Umbraco

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

Powered by