https://discord.umbraco.com
Join Discord
How to make AppCaches distributed?
g

gregor.tusar

about 1 year ago
We are using isolated [Application Cache](https://docs.umbraco.com/umbraco-cms/reference/cache/application-cache) for storing some data from an external API. We recently implemented distributed cache in SQL server.
builder.Services.AddDistributedSqlServerCache(options =>
{
    options.TableName = nameof(CacheStore);
    options.ConnectionString = builder.Config.GetConnectionString("umbracoDbDSN");
});
How to make the application caches also shared between our kubernetes pods? Is this even intended to use or is Applicaiton Cache meant to be available only on one machine? Should we refactor the Cache implementation to use service
IDistributedCache
instead of
AppCaches
? Is there any example of that anywhere? Thank you
g
b
+2
  • 4
  • 5
  • 116
Examine in load balanced environment 'umbracoServer' database table
s

sandervandepas_33359

almost 2 years ago
Hi, We've an Umbraco 10.8.2 site in a load balanced environment. Following the documentation we need to set the right *serverrole * to the backoffice and frontend server by implementing a **custom ServerRegistrarComposer**: https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/fundamentals/setup/server-setup/load-balancing/flexible-advanced *Question: * When we do this the database table umbracoServer won't be filled, is that correct? Or should this table always be filled?
s
m
  • 2
  • 9
  • 116
Umbraco 15 Custom Sections Create
w

warLock

10 months ago
Hello everyone, I took a break from developing with Umbraco after version 8, and now I’m working on a project with version 15. However, it has evolved into a very different structure, and I’m struggling to adapt. I want to create and use a new Section, but I haven’t been able to get it to work. I’ve read the documentation, talked to AI (applied the suggestions but they didn’t work), and tried everything, but nothing has worked so far. Friends, can you please explain how to add a Section in Umbraco 15? I really need help because I can’t figure it out. https://cdn.discordapp.com/attachments/1333604093654073364/1333604093930770493/image.png?ex=67997f19&is=67982d99&hm=b9e85a8ce5ed00a7d8d46a6a8276cb2e661c8dc92ddaa43465adf13155b0a632&
w
s
s
  • 3
  • 15
  • 115
How to populate options of UUI-Select?
a

Aaron Sawyer

over 1 year ago
I'm reading through the UUI documentation and the example code doesn't actually show how to attach complex data such as an array to the UUI-Select component. I've tried this in my modal's render() method, and it doesn't work: render() { const targetOptions: Array = [ { name: 'Carrot', value: 'orange' }, { name: 'Cucumber', value: 'green' }, { name: 'Aubergine', value: 'purple' }, { name: 'Blueberry', value: 'Blue' }, { name: 'Banana', value: 'yellow' }, { name: 'Strawberry', value: 'red' }, ]; return html``; }
a
e
  • 2
  • 3
  • 114
How do you register a Entity Framework Core DbContext in V13?
a

AaronSadlerUK

over 1 year ago
The documentation hasn't been updated and does not work, also what is shown in the documentation is using an obsolete method, I have taken a look through the source and I can see the tests are doing the following:
services.AddUmbracoDbContext<TicketsContext>((serviceProvider, options) =>
            {
   options.UseUmbracoDatabaseProvider(serviceProvider);
});
However when I run the site I get the following error:
Unable to create a 'DbContext' of type 'TicketsContext'. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[UmbTickets.DAL.DbContexts.Tickets.TicketsContext]' while attempting to activate 'UmbTickets.DAL.DbContexts.Tickets.TicketsContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
https://docs.umbraco.com/umbraco-cms/tutorials/getting-started-with-entity-framework-core#step-2-create-dbcontext-class
a
d
+2
  • 4
  • 12
  • 114
delivery api parent id
d

Dennis Bidstrup

over 1 year ago
Hi! Is it possible to enable the output to have the parentId has part of the data. I don't understand why this is not part of the default response?
d
p
  • 2
  • 3
  • 113
Umbraco Examine for searching and returning results of child items from more than one parent item.
b

bran31

about 2 years ago
Hi, I am trying to get the search results of child items. Some child items are within one parent item and some child items are from another parent item. I tried to build a query using examine however I'm not getting the expected results. Any assistance would be much appreciated. The following below is what I'm trying to accomplish: var query = index.Searcher.CreateQuery("content"); var results = query.ParentId(nodeItem1Id).And().ParentId(nodeItem2Id).Execute();
b
j
+4
  • 6
  • 25
  • 113
Umbraco backoffice custom section port from 13 to 15
b

boston

11 months ago
Hello, some advices or guides to create a custom section in umbraco v15? cause i read the documentation about sections/entry points and package manifest but i'm a little bit confused 🙄 any real life sample to follow? And, any particular reason on why i should be using Lit instead of Blazor to create back office components?
b
s
  • 2
  • 5
  • 112
How can I hide the Getting Started dashboard in Umbraco V15?
a

AaronSadlerUK

11 months ago
Previously we could use a Composer to remove the getting started dashboard, which was fully supported by the core, what's the official process in V15?
a
s
m
  • 3
  • 2
  • 112
Unable to install Umbraco due to error Invalid object name 'umbracoOpenIddictApplications'
s

Simon Holman

about 1 year ago
Hoping the comminuty can help. I'm new to Umbraco and tried to get my first site running. I installed the templates into VS 2022 from the instructions at https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/fundamentals/setup/install/visual-studio. I created an app and tried to run it. Firstly I get an error saying that the /wwwroot/media folder didn't exist, so I created that. Then the site loaded. I changed the db type to Azure SQL and entered my credentials. The install started and a heap of database tables were created but is failed with the error "Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid object name 'umbracoOpenIddictApplications'" Not sure where to go from here as I can't even get the app to run 🤷‍♂️😒
s
  • 1
  • 1
  • 112
Previous242526Next

Umbraco

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

Powered by