umbraco | reusable functionality for umbraco projects | Content Management System library
kandi X-RAY | umbraco Summary
kandi X-RAY | umbraco Summary
reusable functionality for umbraco projects, property editors, packages etc.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of umbraco
umbraco Key Features
umbraco Examples and Code Snippets
Community Discussions
Trending Discussions on umbraco
QUESTION
I'm currently scraping data from a spreadsheet with the following format:
Each financial year is separated by in the following way:
What I'd like to do is create an additional column to the left called 'Financial_Year' that takes the date from the relevant cell.
So I would like the df to look as follows:
My code thus far is like:
...ANSWER
Answered 2022-Apr-01 at 13:23First, we load the first column so that we can group the tables and load them iteratively. We assume that first-column with "Financial"
is a clear label; from that, we skip the first few rows of each (to limit to just the monthly data within a year), and load into a list
:
QUESTION
We have a Umbraco website that references Umbraco.Web.UI
,
ANSWER
Answered 2022-Mar-18 at 11:37So my csproj is using,
QUESTION
What table in umbraco DB does keep information about page url?
For example. I have page home, when i created this page, it got autogen url /home
I found dbo.umbracoRedirectUrl
, but not sure
p.s. uses umbraco 9
...ANSWER
Answered 2022-Mar-15 at 09:53QUESTION
I found an answer to remove get started in the umbraco dashboard is by adding this code to composer.
...ANSWER
Answered 2022-Mar-02 at 12:25You should be able to place the file anywhere, as long as you rebuild after? And remember to change the sample to actually remove the Get Started dashboard and not Content dashboard :-)
QUESTION
I have created a MVC project and then installed Umbraco CMS version 7.4.0 and debugged it runs good. Then I have installed the EventCalender plugin and then debugged caused an error
The column name is not valid. [ Node name (if any) = ,Column name = uniqueId ]
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlServerCe.SqlCeException: The column name is not valid. [ Node name (if any) = ,Column name = uniqueId ]
The stack traced information was
[SqlCeException (0x80004005): The column name is not valid. [ Node name (if any) = ,Column name = uniqueId ]]
System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr) +48
System.Data.SqlServerCe.SqlCeCommand.CompileQueryPlan() +644
System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options) +543
System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery() +21
StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteNonQuery() in c:\Code\github\SamSaffron\MiniProfiler\StackExchange.Profiling\Data\ProfiledDbCommand.cs:279 Umbraco.Core.Persistence.<>c__DisplayClass2_0.b__0() +55 Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction(Func1 func) +170 Umbraco.Core.Persistence.PetaPocoCommandExtensions.ExecuteNonQueryWithRetry(IDbCommand command, RetryPolicy cmdRetryPolicy, RetryPolicy conRetryPolicy) +118 Umbraco.Core.Persistence.PetaPocoCommandExtensions.ExecuteNonQueryWithRetry(IDbCommand command, RetryPolicy retryPolicy) +52 Umbraco.Core.Persistence.PetaPocoCommandExtensions.ExecuteNonQueryWithRetry(IDbCommand command) +48 Umbraco.Core.Persistence.Database.Insert(String tableName, String primaryKeyName, Boolean autoIncrement, Object poco) +2149 Umbraco.Core.Persistence.Database.Insert(Object poco) +51 Umbraco.Core.Persistence.Repositories.MacroRepository.PersistNewItem(IMacro entity) +121 Umbraco.Core.Cache.DefaultRepositoryCachePolicy
2.Create(TEntity entity, Action1 persistNew) +409 Umbraco.Core.Persistence.Repositories.RepositoryBase
2.PersistNewItem(IEntity entity) +172
Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.Commit(Action1 transactionCompleting) +63 Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.Commit() +7 Umbraco.Core.Services.MacroService.Save(IMacro macro, Int32 userId) +275 Umbraco.Core.Services.PackagingService.ImportMacros(XElement element, Int32 userId, Boolean raiseEvents) +551 umbraco.cms.businesslogic.packager.Installer.InstallBusinessLogic(Int32 packageId, String tempDir) +2976 A.F.b() +221 A.F.a() +86 A.F.A() +87 EventCalendar.Umbraco.StartUp.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +30 Umbraco.Core.CoreBootManager.b__38_0(IApplicationEventHandler x) +230 Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable
1 items, Action1 action) +141 Umbraco.Core.CoreBootManager.Complete(Action
1 afterComplete) +286
Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +93
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +262
Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +34[HttpException (0x80004005): The column name is not valid. [ Node name (if any) = ,Column name = uniqueId ]]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10107111
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314[HttpException (0x80004005): The column name is not valid. [ Node name (if any) = ,Column name = uniqueId ]]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10087352 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263
What to do to get this issue fixed?
...ANSWER
Answered 2022-Feb-17 at 20:32Maybe an unsupported version of the Plugin for that version of Umbraco? Can't say for sure, but this should hopefully get you back running if the plugin is to blame.
- Go on the file system and delete the entire plugin folder for this plugin from the App_Plugins directory.
- Next I would edit the project file in a text editor and remove all references to the plugin.
- Check your packages.config and remove any references from there
- Check the packages folder (I wouldn't expect it to be there, but just in case) and delete any references to the calendar plugin if found
QUESTION
I'm trying to catch a Response to a POST Request using XMLHTTP using the code below
...ANSWER
Answered 2022-Feb-21 at 18:41A small example how to POST data to your website using VBA, and how to use bare-bones string processing to extract data from the result, as outlined in my comments above.
QUESTION
I am trying to download and store remote images locally as media, as a part of a Recurring Hosted Service (see here). I am following the example for Umbraco 9.0 for creating a media item from a stream:
This is how my method looks:
...ANSWER
Answered 2022-Feb-09 at 18:12Worked it out...
I needed to include:
QUESTION
I've been tasked with updating our companies site from 7.4.3 to the latest version of 9. I've spent many, many hours trying this. I've been following step by step guides and can't even get past the first step of updating to 7.6.14. I managed to get the website to run locally and show the Umbraco update page, but when I try to update it immediately cancels out.
(the log has this message:
_shutDownMessage=CONFIG change HostingEnvironment initiated shutdown HostingEnvironment caused shutdown )
I saw other people having this problem but couldn't find an actual solution. I also tried uploading to dev server and running it from there, but the website is a big mess of stuff and the NuGet umbraco update moves so much stuff around I'm not sure what I actually need to replace on the dev folder. Does anybody know what files I need to keep for this to work?
Am I better off starting with a fresh version of Umbraco 9.2 and remaking 8 years of web content from scratch? Please... save me :S
...ANSWER
Answered 2022-Feb-02 at 10:09If your plan is to move to Umbraco 9, then you shouldn't waste your time with Umbraco 7 upgrades as there is no direct upgrade path from any version of Umbraco 7 to Umbraco 8 or Umbraco 9.
If you have time, then you can try spinning up a fresh Umbraco 8 website, create all your Umbraco objects there, do the data migration from Umbraco 7 to 8, and then you can spin up a new Umbraco 9 website, try migrating your Umbraco 8 objects/data into Umbraco 9. This is the recommended option by Umbraco HQ.
I have got a similar Umbraco 7 project and as I don't have time, I'm planning to spin up a fresh Umbraco 9 website, create all the necessary Umbraco 9 objects according to the latest Umbraco best practices, do the data migration by writing some custom code, similar to this approach.
If you really want to do your Umbraco 7 upgrades, you might try some smaller upgrades as there are a lot of breaking changes from Umbraco 7.4.3 to Umbraco 7.6.14.
Additional notes;
- A lot of legacy code has been removed completely when implementing the Umbraco 8 changes - this includes a lot of code clean up compared to Umbraco 7.
- New APIs were introduced as well as complete new Umbraco backoffice features, i.e. Infinite Editing, Content Apps, Language Variants etc.
- From Umbraco 8 to Umbraco 9, initially, the only big difference was they moved the source code from .NET Framework to .NET 5.
- You can not do an upgrade from a .NET Framework project to .NET 5.
- See my blog for more details about my Umbraco 8 upgrade experience from Umbraco 7.
QUESTION
I'm getting he following exception
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Sections must only appear once per config file. See the help topic for exceptions. The error shows in the line
...ANSWER
Answered 2022-Jan-24 at 10:07Your key is in the web.config twice. I've highlighted the lines in red on the image attached. This can often happen after an Umbraco upgrade in my experience. You'll like want to keep the bottom one, as that is for a higher version (5.2.7.0)
QUESTION
I'm wondering if it is possible to make changes to the Umbraco CMS files. For example the "umbraco.controllers.min.js" file. These files get generated on build, so any changes I make get overwritten. I'm trying to make a small change to the backend UI, but I can't see where the files are even being generated from.
...ANSWER
Answered 2022-Jan-20 at 16:15Short answer is: I wouldn't change anything in Umbraco files. It may be possible for you to create your own plugin (as part of your website, outside of the files Umbraco controls/generates) and override whatever it is you want changed (depends on what it is specifically), but Umbracos own files should be off limits. Otherwise you will run into problems when upgrading and such.
Edit: although... Those files shouldn't regenerate on build, I think, if you've installed Umbraco via Nuget and all that. Are you changing files directly in the Umbraco source repository?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install umbraco
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page