Hello everyone,
Is it possible to add a new field to umbraco forms default field types? I want to add a true/false property.
Hello everyone,
Is it possible to add a new field to umbraco forms default field types? I want to add a true/false property.
Hello!
We have an Umbraco site that is of version 7.1.8. We are about to make some bigger changes in the content, and I think it is about time to upgrade the version.
What would be the best way to upgrade as the current version is so old? Is there any use of first upgrading to the last 7.15.6 version and then migrating to 8? Or is it even possible to migrate such an old version to 8?
We have some macros and partial views but not so many.
Would I be better off starting a new Umbraco project of version 8 and copy/edit the stuff from the old version? Or does Umbraco do some automatic necessary fixes to the templates, macros and such during the update/migration? Or do they differ much anyway?
Where could I find some good examples/tutorials on updating/migrating?
Anna
Hello,
We are using ImageGen Pro 2.5.7 for a large Danish book webshop.
The "product images" folder had ~45000 images, which was not the best I agree :)
ImageGen couldn't manage such a big folder =>
- We had constantly 100% CPU used
- The index.xml file could be as large as 40GB !! and sometimes it droped down to 30Mb .. the size changed a bit randomly it seemed.
We tried to delete the Cached folder, change version of ImageGen (and delete again the Cached folder), IISReset etc.. it didn't change anything.
We do not use "nocache".
The obvious solution we used is to split the large product images folder into 100 separates folder of 450 images each.
Now the performance, CPU and index files are good again :)
I'm writing this post here so people having the same problem could benefice from this experience and maybe it could help Douglas to find the reason of the big index file.
Cheers,
Fabrice
Hi,
I have about 1000 images in one folder, from 4K to 90K size, 16M of images in total, not much at all.
Then there is a page that basically loads bunch of those images using imagegen, not all of them but 200 or so. The parameters used are width, altimage and image.
Then imagegen (w3wp.exe process) starts consuming all available CPU and memory, in less than 30 seconds it will consume 6 GB of ram and then some crashing entire machine. I have observed that it will create very large index.xml file, in my case it managed to create 16gb index file with many duplicate entries.
Version that I am using is 2.9.1
I found this thread, seems to be similar problem that I am describing http://our.umbraco.org/projects/website-utilities/imagegen/imagegen-bugs/31334-Imagegen-problem-with-large-image-folder.
Any ideas of what could be causing it? Is there a fix?
When I want to remove these two group in a form I am just redirected to the frontpage and are not able to delete them
https://www.screencast.com/t/n9r6d0bMYiC
What to do?
Best Rikke
We have just upgraded our 8.0.2 site to 8.1.1 and have encountered following errors
1) yellow screen Compilation Error as follows
Compiler Error Message: CS1061: 'ViewDataDictionary<BackOfficeModel>' does not contain a definition for 'GetUmbracoPath' and no accessible extension method 'GetUmbracoPath' accepting a first argument of type 'ViewDataDictionary<BackOfficeModel>' could be found (are you missing a using directive or an assembly reference?)
Line 113: </umb-login>
Line 114:
Line 115: @Html.BareMinimumServerVariablesScript(Url, Url.Action("ExternalLogin", "BackOffice", new { area = ViewData.GetUmbracoPath() }), Model.Features, Current.Configs.Global())
Line 116:
Line 117: <script>
Source File: F:\Projects\ABCD\umbraco\Views\Default.cshtml Line: 115
We have fixed it by changing the code area = ViewData.GetUmbracoPath() to ViewBag.GetUmbracoPath()
2) then line 120 has compilation error
Line 120: @Html.AngularValueExternalLoginInfoScript(ViewData.GetExternalSignInError())
I have copied the code from previous version as follows to solve the error @Html.AngularValueExternalLoginInfoScript((IEnumerable
2) Now the compilation errors gone but Back office language is not loading - see screenshot
I have a checkboxlist in v8, and i need to check it for values and do something, if a specific checkbox is set...
Iknow i can get the values by doing
foreach(var s in Model.Value<IEnumerable<string>>("type")){
<text>@s</text>
}
But how do i check if one of the values is "foo"?
Hi,
I am trying to migrate umbraco from v7.15.2 to v8.5.5 and i have some custom tables in our database. I get the following error on migrating.
The constraint 'PKstructure' is being referenced by table 'cmsStylesheet', foreign key constraint 'FKcmsStylesheetumbracoNodeid'. Could not drop constraint.
Can anyone help me out?
Thanks.
Hi,
Asking this question on the behalf of a leading ecommerce store in Europe. I have the task to replace an existing content editor with Umbraco CMS.
Going through the documentation and blog posts since last 4 days so far I am not able to find a lead how to do it.
As far as I understand we will have to use a headless CMS i.e. Umbraco Heartcore and then pull content from there in to our ecommerce store backend. But one thing i am unable to figure out that after getting the content through REST API how can we edit the content. Does Umbraco provide any content editor integration/library?
P.S. After editing the standard template I would like to store the generated html in to the db and use it on different places of the ecommerce website.
Thanks In Advance
Hey Guys,
I am wondering if there is a way how to get all members including their assigned member groups (roles)?
The method GetAllMembers in the MemberService retrieves all members, but when I iterate the members, the property "Groups" is null:
I need to sort the members, based on their assigned groups, and this is only doable, if i know the assigned groups of the retrieved members.
Please help!
Umbraco version 7.12.2 Umbraco Forms version 7.4.1
Installing package errored out, now getting this error:
Could not load all types from "MemberListView, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping: . System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 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.Reflection.ReflectionTypeLoadException: Could not load all types from "MemberListView, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping: . System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ReflectionTypeLoadException: Could not load all types from "MemberListView, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
. System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
]
Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a) +498
Umbraco.Core.TypeFinder.GetClassesWithBaseType(Type baseType, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func
2 additionalFilter) +284
Umbraco.Core.TypeFinder.FindClassesOfType(IEnumerable1 assemblies, Boolean onlyConcreteClasses) +62
Umbraco.Core.<>c__DisplayClass51_0
1.
[HttpException (0x80004005): Could not load all types from "MemberListView, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping: . System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +478 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +220 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303
[HttpException (0x80004005): Could not load all types from "MemberListView, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping: . System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +659 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189
Setting the Culture in PublishedRequest.Prepared shouldn't it give me IPublishedContent in that culture? I've set sv
as the default language but also enabled en-US
and published the pages in both languages.
public class PublishedRequestComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.Components().Append<PublishedRequestComponent>();
}
}
To keep it simple I've hard coded the culture here.
public class PublishedRequestComponent : IComponent
{
public void Initialize()
{
PublishedRequest.Prepared += PublishedRequest_Prepared;
}
public void Terminate()
{
}
private void PublishedRequest_Prepared(object sender, System.EventArgs e)
{
var request = sender as PublishedRequest;
request.Culture = new System.Globalization.CultureInfo("en-US");
}
}
Get the translated names of the pages...
var names = Umbraco.ContentAtRoot()
.FirstOrDefault(x => x.IsPublished())
?.Children
.Select(x => x.Name);
But all I get is the names in sv
...
Hello Umbraco,
I am trying to add a color picker to my grid layout so I can modify the background color.
Unfortunately, when I pick a color in the back-end, the whole object is linked as value to the front-end. Does anybody know how can I fix this? Below you can see how this looks:
And here is my style JSON from the grid layout:
[{
"label": "Baggrundsfarve",
"key": "background-color",
"view": "colorpicker",
"prevalues": [
{
"label": "None",
"value": "#FFFFFF"
},
{
"label": "Lyse Grå",
"value": "#EDEDED"
},
{
"label": "Mørke Grå",
"value": "#D2D2D2"
},
{
"label": "Lyse Blå",
"value": "#A8D1E2"
},
{
"label": "Logo Blå",
"value": "#637B9E"
},
{
"label": "Lyse Grøn",
"value": "#B0CE91"
},
{
"label": "Orange",
"value": "#FF9900"
},
{
"label": "Gul",
"value": "#FAE678"
}
],
"config": {
"useLabel": true
}}]
I have uploaded an image to Umbraco using code.
This returns an IMedia object. Now that I have inserted the image into Umbraco I want to use the the CropUrl.
Does anyone know how to convert an IMedia to Image?
Main problem is "When I removed some object of Forms of Umbraco then doesn't be show pop-up "form saved
and it's redirected to umbraco home. (Don't show any error find solution also)."
My step in below.
When I removed some object in Forms of Umbraco then doesn't be show pop-up "form saved" and it's redirected to umbraco home. (Don't show any error find solution also).
if form edited object then can save,no problem ,just removed object is problem,it re-direct to umbraco home.
Please help me for fix problem.
Thanks for your advance.
Hi Geneious, I am looking at the way of getting all content page details in a single CSV file.is there any way to achieve this? can we export all the content page in Umbraco?
Hi Umbraco,
I'm really happy using the old Umbraco 4 environment as set up years ago by my son so I get how stuff works I've used RDP, FTP and Plesk to administer 2 Umbraco 4 sites and some less complex Wordpress sites for years
I've built a Uno site - Brilliant product but with a very small business and multiple sites the best choice was to host my own stuff purely for cost reasons.
I've now built a themed /templated site in Umbraco 8 which I need to get running live - I'm really pleased with everything but would welcome some advice..... Everything in Microsoft Help seems designed for full stack Visual Studio - proper development which is way above my pay grade.
I've the simplest possible local host development environment with .Net, IIS Express, Visual Studio Code etc on a Windows VPS server - I have a brand new shiny remote server and would welcome your thoughts on setting up
a) simplest means of managing local updating and deployment to live/ production server b) How to install Umbraco in this to allow other editors to update content c) How to configure to run multiple umbraco sites under one umbraco instance
We have SSLs for sites - its really getting a view on keeping everything as simple as possible
By all means point me at stuff to read here and elsewhere I'm really keen to learn
If anyone knows whether i could safely run an old Umbraco 4 site on the same server I'd be grateful Thanks in advance
David
Hi
When updating forms, I am getting a funny error here, but I don't know which field is doing it! It doesn't happen to every form submission, but it is happening. Is there a way of checking which field is having the problem?
Using Umbraco forms 8.2.
Exception
System.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func) in D:\a\1\s\src\Umbraco.Core\Persistence\FaultHandling\RetryPolicy.cs:line 172
at NPoco.Database.ExecuteNonQueryHelper(DbCommand cmd)
at NPoco.Database.Execute(String sql, CommandType commandType, Object[] args)
at Umbraco.Forms.Core.Data.Storage.RecordFieldValueStorage.InsertRecordFieldValues(RecordField recordFieldInForm)
at Umbraco.Forms.Core.Data.Storage.RecordFieldStorage.UpdateRecordField(RecordField recordField)
at Umbraco.Forms.Core.Data.Storage.RecordStorage.UpdateRecord(Record record, Form form)
at LGO.Controllers.FormsController.SaveForm(Form form, FormViewModel model, Dictionary`2 state, ControllerContext context, Boolean IsLast)
at LGO.Controllers.FormsController.HandleFormSubmission(FormViewModel model)
ClientConnectionId:7dce564d-0e67-45b7-8dee-6c93e5a76c02
Error Number:8152,State:30,Class:16
Hi,
I'm pretty new to Umbraco and .NET.
What I am trying to achieve is, I have created a div section within the master template, which has been applied to the Home Page Doc Type as well as other Pages.
However, I only want to add the class of "home" to the div on the Home page Node, not any other of the pages with contain the div from the master template.
Any help would be much appreciated. Thanks.
Hello!
We recently installed the 1.5.2 version and earlier we've just tested the 1.4.1 version, which worked really nice.
When we installed the latest version 1.5.2 and started to implement content blocks to some document types we noticed that content disappear in each content block view. This occurs when we've saved new content, leave the document type and re-enter the document type where the content was saved. After that all the properties are empty, however the content is still published on the actual page as you can see in the preview window.
We did install to 1.5.1 and now everything seems to work fine. Also did some investigation on our end but couldn't find any solution.
Br