ActiveTopics https://our.umbraco.org Thu, 23 Nov 2017 05:16:28 +00:00 umbraco Latests topics from the forum on our.umbraco.org en Is there a way to have radio button functionality on a list of child item pages? https://our.umbraco.org/forum/using-umbraco-and-getting-started/89370-is-there-a-way-to-have-radio-button-functionality-on-a-list-of-child-item-pages https://our.umbraco.org/forum/using-umbraco-and-getting-started/89370-is-there-a-way-to-have-radio-button-functionality-on-a-list-of-child-item-pages The question may be worded strangely, but the situation is this: I have a Blog document type, which has child items that are Blog Post document types.

On my Blog page, I want to show a "Featured" Blog Post. I thought about adding a True/False property to the Blog Post document type, but that would allow several Blog Posts to be selected as "Featured".

Is there a way to limit that property to only be selected by one Blog Post at a time?

]]>
Steven Applegate Wed, 22 Nov 2017 23:52:38 +00:00
Examine search problem https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89369-examine-search-problem https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89369-examine-search-problem Hello, guys! Very strange problem with Examine. When I create a node and give it name like "New", everything works just fine, when I give it name "New node" - two words with white space - everything works fine, but when I give it name "New 10" - word whitespace and a number, so examine cannot find such node enter image description here var query = ExamineManager.Instance.CreateSearchCriteria().Field("nodeTypeAlias", nodeAlias).And() .Field("nodeName", nodeName) .Compile(); var nodesCollection = umbracoHelper.Search(query); so when nodeName field has word plus whitespace plus a number this query does not find anything, I wonder what it can be. I guess that it has to do with the way Examine create index for nodeName, and if node name consists of a word and whitespace and a number, it creates the wrong index. Could you tell me exactly what is the problem?

]]>
Romix2017 Wed, 22 Nov 2017 18:25:05 +00:00
Install not working https://our.umbraco.org/projects/developer-tools/diplo-trace-log-viewer/diplo-trace-log-viewer/89368-install-not-working https://our.umbraco.org/projects/developer-tools/diplo-trace-log-viewer/diplo-trace-log-viewer/89368-install-not-working Umbraco v7.5.11

I have tried installing using Nuget "Install-Package DiploTraceLogViewer -Version 2.4.1" and also by using the Install Package feature in Umbraco, but the Log Viewer does not appear in the Developer section!?

I have logged out and back in again, I have restarted IIS, I have updated ClientDependency ... not sure what to do next!

Edit: I have also tried installing it as a local package, but still no Log Viewer anywhere :-(

]]>
Gordon Saxby Wed, 22 Nov 2017 16:40:49 +00:00
Forms Scripts Macro not rendering scripts https://our.umbraco.org/forum/umbraco-forms/89367-forms-scripts-macro-not-rendering-scripts https://our.umbraco.org/forum/umbraco-forms/89367-forms-scripts-macro-not-rendering-scripts Hello all,

I'm trying to render form scripts using the following:

@Umbraco.RenderMacro("FormsRenderScripts")

...but for some reason all that's being outputted is:

<Macro:  (,)>

Any reason why this might be happening? I've followed the documentation (https://our.umbraco.org/documentation/Add-ons/umbracoforms/developer/rendering-scripts/) to a tee and also scoured the forums but still can't get it to work :/ Thanks in advance.

]]>
Myles Broomes Wed, 22 Nov 2017 16:35:05 +00:00
Tiny MCE Paste from Word 7.7.3 https://our.umbraco.org/forum/using-umbraco-and-getting-started/89366-tiny-mce-paste-from-word-773 https://our.umbraco.org/forum/using-umbraco-and-getting-started/89366-tiny-mce-paste-from-word-773 Hi, Im using 7.7.3 and I couldnt see how to Paste from Word. I was expecting a pop-up to appear when i click on the icon in the tool bar but nothing happens. Do you know what the Config file needs to look like?

Thanks

Jon

]]>
Jonathan Roberts Wed, 22 Nov 2017 15:21:34 +00:00
Getting incorrect Sections is a mandatory field error when creating/saving user https://our.umbraco.org/forum/using-umbraco-and-getting-started/89365-getting-incorrect-sections-is-a-mandatory-field-error-when-creatingsaving-user https://our.umbraco.org/forum/using-umbraco-and-getting-started/89365-getting-incorrect-sections-is-a-mandatory-field-error-when-creatingsaving-user When attempting to create a new user (or save an existing), we are getting the error message

Sections is a mandatory field

Even though there are values selected in the section element of the user profile

What is making Umbraco think there is no value selected? There is nothing in the JS console or anything obvious in the error log

We are using v7.5.11 and this does not happen on every environment.

]]>
Mike Poole Wed, 22 Nov 2017 14:40:44 +00:00
User permission error https://our.umbraco.org/forum/using-umbraco-and-getting-started/89364-user-permission-error https://our.umbraco.org/forum/using-umbraco-and-getting-started/89364-user-permission-error Hello, I am facing an error whilte trying to save permmision on umbraco backoffice. details are below.

url: umbraco/users/PermissionsHandler.asmx/SaveNodePermissions

request:

{"Message":"Violation of PRIMARY KEY constraint \u0027PK_umbracoUser2NodePermission\u0027. Cannot insert duplicate key in object \u0027dbo.umbracoUser2NodePermission\u0027. The duplicate key value is (2, 1108, A).\r\nThe statement has been terminated.","StackTrace":"   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean\u0026 dataReady)\r\n   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)\r\n   at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)\r\n   at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)\r\n   at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)\r\n   at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)\r\n   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)\r\n   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)\r\n   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)\r\n   at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)\r\n   at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)\r\n   at Umbraco.Core.Persistence.PetaPocoExtensions.BulkInsertRecordsSqlServer[T](Database db, SqlServerSyntaxProvider sqlSyntaxProvider, PocoData pd, IEnumerable`1 collection)\r\n   at Umbraco.Core.Persistence.PetaPocoExtensions.NativeSqlPlatformBulkInsertRecords[T](Database db, ISqlSyntaxProvider syntaxProvider, PocoData pd, IEnumerable`1 collection, Int32\u0026 processed)\r\n   at Umbraco.Core.Persistence.PetaPocoExtensions.BulkInsertRecordsTry[T](Database db, IEnumerable`1 collection, Transaction tr, ISqlSyntaxProvider syntaxProvider, Boolean useNativeSqlPlatformBulkInsert, Boolean commitTrans)\r\n   at Umbraco.Core.Persistence.PetaPocoExtensions.BulkInsertRecords[T](Database db, IEnumerable`1 collection, Transaction tr, ISqlSyntaxProvider syntaxProvider, Boolean useNativeSqlPlatformBulkInsert, Boolean commitTrans)\r\n   at Umbraco.Core.Persistence.Repositories.PermissionRepository`1.ReplaceUserPermissions(Int32 userId, IEnumerable`1 permissions, Int32[] entityIds)\r\n   at Umbraco.Core.Services.UserService.ReplaceUserPermissions(Int32 userId, IEnumerable`1 permissions, Int32[] entityIds)\r\n   at umbraco.cms.presentation.user.UserPermissions.SaveNewPermissions(Int32[] nodeIDs, List`1 actions, Boolean replaceChildren)\r\n   at umbraco.cms.presentation.user.PermissionsHandler.SaveNodePermissions(Int32 userID, String nodes, String permissions, Boolean replaceChild)","ExceptionType":"System.Data.SqlClient.SqlException"}
]]>
sagi tsofan Wed, 22 Nov 2017 14:31:52 +00:00
Umbraco forms and PerplexMail https://our.umbraco.org/projects/backoffice-extensions/perplexmail-for-umbraco/feedback/89363-umbraco-forms-and-perplexmail https://our.umbraco.org/projects/backoffice-extensions/perplexmail-for-umbraco/feedback/89363-umbraco-forms-and-perplexmail Hi,

I can´t get the workflow setup correctly so I just want to clearify some things. Must I remove all other send email workflows? Any other setup step that I´m missing?

Thankfull for a nudge in the right direction.

//Johnny

]]>
Johnny Wed, 22 Nov 2017 14:03:54 +00:00
Distributed Cache Failure on Azure Load Balanced Environment https://our.umbraco.org/forum/using-umbraco-and-getting-started/89362-distributed-cache-failure-on-azure-load-balanced-environment https://our.umbraco.org/forum/using-umbraco-and-getting-started/89362-distributed-cache-failure-on-azure-load-balanced-environment Hello,

I'm finding myself in the situation where our cache fails to update on any of the slave machines.

I have a basic setup of 1 Master and 2 Slave machines setup in Azure, using the 7.6.5 Umbraco version, with the recommended configuration. I have no issues with small changes of up to 20 nodes, but I'm experiencing problems when going towards larger numbers (300 and up).

There are 2 main issues.

  1. I am 'greeted' by this particular error 'DISTRIBUTED CACHE IS NOT UPDATED. Failed to execute instructions ({0}: \"{1}\"). Instruction is being skipped/ignored'. This is mostly when something along something similar to the below is entered in the umbracoCacheInstructions table :

    [{"RefreshType":3,"RefresherId":"27ab3022-3dfa-47b6-9119-5945bc88fd66","GuidId":"00000000-0000-0000-0000-000000000000","IntId":0,"JsonIds":"[7694,7695, several hundred other ids ,18159,17583]","JsonPayload":null}].

    This usually happens on 'Publish with children' action on a bigger node.

  2. The above would be less of an issue if the action would actually be skipped, but for whatever reason the application is continuously starting and failing from this particular kind of instruction which stops any other ulterior change in the back office to be reflected on the actual websites.

The only solutions so far that are found to work are restarting the applications altogether or cold booting them, but this is not a viable option (during high traffic or night hours).

Is this a known issue or perhaps I am missing something too obvious? I know something similar, regarding the instruction count, was supposed to be fixed in recent versions. Any suggestion or advice is highly appreciated.

Best Regards, Vlad A.

]]>
Vlad Apetre Wed, 22 Nov 2017 14:02:13 +00:00
Umbraco Database Layer Wrapper https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89361-umbraco-database-layer-wrapper https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89361-umbraco-database-layer-wrapper With the GDPR deadline looming, I've been trying to think up what the best, most flexible way of encrypting sensitive data would be on all websites I manage, many of which are Umbraco-based.

I was thinking that being able to "wrap" the Umbraco database layer with my own custom encryption code would be ideal, so that any time Umbraco saves data to the database, or pulls data from it, my code can run a quick check to see if it needs to be encrypted/decrypted.

I haven't done anything similar in the past, so would appreciate any guidance on:

1) Whether or not this is even possible given the possible method override's etc that I have access to.

2) Which methods I would have to override to achieve something like this.

Any pointers in the right direction would be greatly appreciated.

]]>
Daniel McAteer Wed, 22 Nov 2017 14:01:39 +00:00
Vorto properties not loading while creating "Content Templates" in Settings sections. fails with js errors. https://our.umbraco.org/projects/backoffice-extensions/vorto/bugs-feedback-suggestions/89360-vorto-properties-not-loading-while-creating-content-templates-in-settings-sections-fails-with-js-errors https://our.umbraco.org/projects/backoffice-extensions/vorto/bugs-feedback-suggestions/89360-vorto-properties-not-loading-while-creating-content-templates-in-settings-sections-fails-with-js-errors Hello,

I am trying to use Umbraco basic feature called Content templates, where I get default values populated in the page fields after page is created.

When I try to create a Content Template, Vorto propertries are not loaded and we have javascript error as below.

Please see the screen grab below.

These 400 bad request is for the Vorto properties on the document type

Kindly advise us on this issue.

Thanks in advance! :)

]]>
Ranjit J. Vaity Wed, 22 Nov 2017 14:00:49 +00:00
Very slow save function https://our.umbraco.org/forum/using-umbraco-and-getting-started/89359-very-slow-save-function https://our.umbraco.org/forum/using-umbraco-and-getting-started/89359-very-slow-save-function We have a umbraco site with many nodes (30.000+). When saving nodes, it can take up to an hour, before the node is saved. Anyone having an ideer of what the problem can be?

It is version 7.6.3

]]>
pnr Wed, 22 Nov 2017 13:40:43 +00:00
what is the best way to publish or push to servers if we have partial codes changes. https://our.umbraco.org/forum/developing-packages/89358-what-is-the-best-way-to-publish-or-push-to-servers-if-we-have-partial-codes-changes https://our.umbraco.org/forum/developing-packages/89358-what-is-the-best-way-to-publish-or-push-to-servers-if-we-have-partial-codes-changes Hi,

We have multiple servers like "Test", "Staging", "UAT" and "Production".

what is the best way to publish or push to servers if we have partial codes changes.

So is there any package or something that we can published automatically ?

]]>
Nirav Panchal Wed, 22 Nov 2017 12:09:59 +00:00
help! my MultiNodeTreePicker isn't returning as 'IEnumerable<IPublishedContent>' https://our.umbraco.org/forum/using-umbraco-and-getting-started/89357-help-my-multinodetreepicker-isnt-returning-as-ienumerableipublishedcontent https://our.umbraco.org/forum/using-umbraco-and-getting-started/89357-help-my-multinodetreepicker-isnt-returning-as-ienumerableipublishedcontent hey out there,

i've got a umbraco project that was recent upgraded from v7.2.6 to v7.7.2.

there's a load of datatypes based on the 'Umbraco.MultiNodeTreePicker' property which displays as '(Obsolete) Multinode Treepicker' in the 'property editor' select.

i've experimented with changing these to the 'Umbraco.MultiNodeTreePicker2' property editor but it blows away the selections...

the problem i have now is that i need to add a new datatype and i've based it on the 'Umbraco.MultiNodeTreePicker2' property editor. when i debug the code, it's not returning as 'IEnumerable'!

the below watch grab shows the data being returned for a property based on the 'Umbraco.MultiNodeTreePicker' and the 'Umbraco.MultiNodeTreePicker2':

enter image description here

the 1st one is returning the id of the selected node '1438'. the 2nd one is returning 'umb' links in a csv 'umb://document/2ca28e5729dc47e7b66f1ab90bec8820,umb://document/7f03a200d1b046fb83781444131f2735'.

using this code on the 1st property works but using it on the 2nd property returns nothing:

var quotes = t.GetPropertyValue<IEnumerable<IPublishedContent>>("quotes");

this is a bit of a nightmare! has anyone any idea what's going on here?! one route i can see out of this is to change the 2nd datatype to be based on the 'Umbraco.MultiNodeTreePicker' property but this isn't possible due to it not being the select list!

help?!

]]>
jake williamson Wed, 22 Nov 2017 11:55:35 +00:00
Unpublished welcome page shows instead of published content https://our.umbraco.org/forum/using-umbraco-and-getting-started/89355-unpublished-welcome-page-shows-instead-of-published-content https://our.umbraco.org/forum/using-umbraco-and-getting-started/89355-unpublished-welcome-page-shows-instead-of-published-content Hi,

Apologies if I'm asking a silly or basic question here - I'm quite new to Umbraco v7 (but loving it so far).

I have a new site for a client that's currently partially in UAT (not all content is yet present); they have an existing Umbraco site, based on an earlier version (but still v7). New site version is 7.7.1 (the most current when I started it).

There seems to be an issue where cookies are hanging around after logging in to the backend of the site (the new site is currently on www2.[domain].com, the old one is on www.[domain].com) - sorry I can't share the actual site due to an NDA.

This causes the "no published content" welcome page to show instead of the actual website - the client has to go into Incognito Mode in Chrome (or delete their cookies for the site)

I've confirmed that I can replicate this by logging in to to the backend, logging out, closing the browser completely and then trying to view the site again in the same browser after closing - instead of the home page, I get the "Unpublished content" welcome page for v7.

I can fix this by deleting a cookie called "X-Mapping-[random letters] - after doing this and refreshing the page I get the published content again.

The UAT site is on load balanced servers, configured according to the documentation and using Distributed File Replication but the same issue doesn't seem to be happening on the dev site (which isn't load balanced), so I'm wondering if it's something to do with that.

Is there some way of ensuring this doesn't happen? A configuration setting or something that I'm not aware of?

Many thanks!

Chris.

]]>
Chris Norwood Wed, 22 Nov 2017 11:36:30 +00:00
Authontication with KeyCloack Database 1.6.0 and Kong API integration with Umbraco https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89354-authontication-with-keyclock-database-and-kong-api-integration-with-umbraco https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89354-authontication-with-keyclock-database-and-kong-api-integration-with-umbraco Hi,

We have requirement of authentication with KeyClock Database and Kong API integration with umbraco.

So basically we are going to use KeyClock Database for authentication which is user get their own unique token it should allow to logged in to the page.

Kong API manager will communicate with business services and logical data service.

can anyone help me out here ?

]]>
Nirav Panchal Wed, 22 Nov 2017 11:24:29 +00:00
campaigns/getmanifestforrules - System.Net.Http.Formatting reference error https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/89353-campaignsgetmanifestforrules-systemnethttpformatting-reference-error https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/89353-campaignsgetmanifestforrules-systemnethttpformatting-reference-error When calling umbraco/backoffice/teacommerce/campaigns/getmanifestsforrules or umbraco/backoffice/teacommerce/campaigns/getmanifestsforawards we are getting the following 500 error (taken from Fiddler):

ExceptionMessage=Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.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)

ExceptionType=System.IO.FileLoadException

Message=An error has occurred.

StackTrace=   at TeaCommerce.Umbraco.Application.Controllers.CampaignsController.GetManifestsForRules()
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()

Versions:

TeaCommerce.Api.dll: 3.0.5.0 TeaCommerce.Api.Persistence.dll: 3.0.5.0 TeaCommerce.Api.Web.dll: 3.0.5.0 TeaCommerce.Api.PaymentProviders.dll: 3.0.1.0 TeaCommerce.Api.PaymentProviders.XmlSerializers.dll: 3.0.0.0

]]>
Verner Henriksen Wed, 22 Nov 2017 10:43:12 +00:00
Apply stiles outside RTE https://our.umbraco.org/forum/templates-partial-views-and-macros/89352-apply-stiles-outside-rte https://our.umbraco.org/forum/templates-partial-views-and-macros/89352-apply-stiles-outside-rte Hi All,

I want all my Rich Text Editors to be surrounded by a border. I see that an empty div below the column div is created surrounding it, but I can't locate it to modify its class an apply my style. Here is an snippet of my code:

<div class="col-md-3 column">
    <div> <!-- div which style I want to modify -->
       <h2>Help<h2>
       <p>Visit our guidance for tips and support, here.</p>        
       <h2>Favorite Functionalities</h2>
       <ul>
              <li>Meeting point</li>
              <li>Our Corner</li>
              <li>Documents</li>
       </ul>
   </div>

Any ideas?

Thanks,

]]>
Francisco Cruzado Wed, 22 Nov 2017 10:28:10 +00:00
umbraco support model https://our.umbraco.org/forum/using-umbraco-and-getting-started/89351-umbraco-support-model https://our.umbraco.org/forum/using-umbraco-and-getting-started/89351-umbraco-support-model We are using umbraco v7.1.4 version . we want to know about Our Umbraco Support end date and about Umbraco support model used in the applictaion. Please help us with the information, from where we can get this details.

Thanks.

]]>
dimple Wed, 22 Nov 2017 10:18:47 +00:00
send mails automatic https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89350-send-mails-automatic https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89350-send-mails-automatic Hi My company is searching for a tool to send a automatic mail as soon as the blog on our website is getting updated. So the subscribers get notified that a new blog is on. We would like to send the hole blog as a mail, and i saw that there is the function "insert dynamic content from URL". I watched already some videos to the whole newsletter studio but still don't get it how to remove the menu bar at the top of the website so i only have the blog without the buttons and so further.

My questions would be if there is a way to connect the blog and the newsletter studio together so it sends the blog without the menu bar at the top of the website and buttons as a mail to all members of the mail list automatically as soon as the blog gets updated?

regards Nikola

]]>
Nikola Wed, 22 Nov 2017 10:12:51 +00:00
How to apply Dynamic CSS in Umbraco page ? https://our.umbraco.org/forum/templates-partial-views-and-macros/89349-how-to-apply-dynamic-css-in-umbraco-page https://our.umbraco.org/forum/templates-partial-views-and-macros/89349-how-to-apply-dynamic-css-in-umbraco-page [22-11-2017 14:20] Nirav Panchal: Hi,

I have created single web page in umbraco. I want to apply dynamic css on the page.

Suppose we have 3 College :

  1. College A
  2. College B
  3. College C

College A, College B, College C : having their own css.

So according to the selection it will apply the css.

So how could I do it with my project ?

Can anyone help me ? now ?

]]>
Nirav Panchal Wed, 22 Nov 2017 09:00:41 +00:00
Automaticlly update email list https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89348-automaticlly-update-email-list https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89348-automaticlly-update-email-list Hello support Is there a way to automatically update the email list in Newsletter Studio. So when somebody subscribes to the newsletter on our website that the email list in newsletter studio gets automatically updated.

regards Nikola

]]>
Nikola Wed, 22 Nov 2017 08:58:54 +00:00
IMember GetValue<IPublishedContent> on Media Picker Property returns null https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89346-imember-getvalueipublishedcontent-on-media-picker-property-returns-null https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89346-imember-getvalueipublishedcontent-on-media-picker-property-returns-null I'm working on a site which has a members section. I have extended the standard member type with some custom properties, one of them being a Media Picker - Image Only for choosing picture. Inspecting the IMember object, the "picture" property contains the Udi of the Media Node, but GetValue<IPublishedContent> returns null.

@{
  int totalRecords;

  var members = ApplicationContext.Current.Services.MemberService.GetAll(0, 500, out totalRecords);
}

<ul>
  @foreach (IMember member in members)
  {
    var picture = member.GetValue<IPublishedContent>("picture");

    <li>
        <div class="post_thumb">
            @if (picture != null)
            {
                <img src="@picture.Url" class="avatar photo" />
            }
        </div>
        <div class="post_title">
            <strong>@member.GetValue<string>("name")</strong>
        </div>
    </li>
  }
</ul>

This work around solves it, but it's not a very nice solution compared to casting it right away:

var pictureUdi = member.GetValue<Udi>("picture");
if (pictureUdi != null)
    picture = Umbraco.TypedMedia(pictureUdi);
]]>
Christian A Wed, 22 Nov 2017 08:57:22 +00:00
Path too long when installing uCommerce or Merchello https://our.umbraco.org/forum/using-umbraco-and-getting-started/89344-path-too-long-when-installing-ucommerce-or-merchello https://our.umbraco.org/forum/using-umbraco-and-getting-started/89344-path-too-long-when-installing-ucommerce-or-merchello Hey Guys,

I have encountered a problem few days ago. When I try to install uCommerce or Merchello eCommerce packages via Umbraco package installer I'm getting win32 path too long error. I have tried to resolve it by enabling the WIN32 path support and so on but no luck. Did some else had the same problem and could solve it?

Appreciate any help.

Cheers

]]>
Alexander Krum Wed, 22 Nov 2017 00:34:13 +00:00
CSharp version 6 https://our.umbraco.org/forum/templates-partial-views-and-macros/89341-csharp-version-6 https://our.umbraco.org/forum/templates-partial-views-and-macros/89341-csharp-version-6 Is it possible to configure an Umbraco 7 site to compile the templates/views using c# 6? If yes, how?

What if the site is hosted on the Umbraco Cloud?

]]>
Tor Langlo Tue, 21 Nov 2017 17:24:04 +00:00
Error in Application https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89340-error-in-application https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/89340-error-in-application After trying to follow the RenderTask Sample my Application does not start any more:

Could not load all types from "Company.NewsletterStudio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:

RenderTask Der Typ "NewsletterStudio.Services.RenderTask" in der Assembly "NewsletterStudio, Version=2.1.9.1, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.

Any ideas?

]]>
Edgar Rasquin Tue, 21 Nov 2017 16:02:07 +00:00
Rendering issue https://our.umbraco.org/projects/backoffice-extensions/terratype/bugs-questions/89337-rendering-issue https://our.umbraco.org/projects/backoffice-extensions/terratype/bugs-questions/89337-rendering-issue Hello,

I am using umbraco 7.7.2. I already had angularmaps package installed. I then installed terratype and ran an umbraco migrations to convert the data to terratype. In the backoffice map renders fine json looks like:

{"position": {
"id": "WGS84",
"datum": "51.565902,-0.037393"},"zoom": 15,"height": 0}

In the template I am trying todo:

@Html.Terratype(Model.Content.TerratypeGooglemap)

In the generated model via modelsbuilder we have:

        [ImplementPropertyType("terratypeGooglemap")]
    public Terratype.Models.Model TerratypeGooglemap
    {
        get { return this.GetPropertyValue<Terratype.Models.Model>("terratypeGooglemap"); }
    }

When i hit page i get the following error:

Error reading JObject from JsonReader. Path '', line 0, position 0.

Its erroring on models builder property.

Am i missing something? Is the issue that there is property converter interfering?

Regards

Ismail

]]>
Ismail Mayat Tue, 21 Nov 2017 14:38:52 +00:00
RelatedLinks.Any() ArgumentNullException: Value cannot be null https://our.umbraco.org/forum/templates-partial-views-and-macros/89336-relatedlinksany-argumentnullexception-value-cannot-be-null https://our.umbraco.org/forum/templates-partial-views-and-macros/89336-relatedlinksany-argumentnullexception-value-cannot-be-null Hi all, many thanks for this.

I think I'm having trouble with my if statement.

I thought RelatedLinks.Any() should return a boolean, not null?

Everything displays fine if there is content in the notifications property, but if not, YSOD.

My code:

@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@using Umbraco.Web.Models

@{
    var home = Umbraco.TypedContent(1113);
    var notifications = home.GetPropertyValue<RelatedLinks>("notifications");
}

@if(notifications.Any())
{
    foreach(var notification in notifications)
    {
        <a href="@notification.Link">@notification.Caption</a>
    }
} else {
    <a>Nothing here</a>
}

If the RelatedLinks property editor is empty (offending line is #9):

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error: 


Line 7:  }
Line 8:  
Line 9:  @if(notifications.Any())
Line 10: {
Line 11:     foreach(var notification in notifications)

Source File: c:\inetpub\wwwroot\mhshomes\Views\Partials\Notifications.cshtml    Line: 9 
]]>
Paul Tue, 21 Nov 2017 14:21:10 +00:00
Umbraco CMS Image not appearing https://our.umbraco.org/forum/using-umbraco-and-getting-started/89327-umbraco-cms-image-not-appearing https://our.umbraco.org/forum/using-umbraco-and-getting-started/89327-umbraco-cms-image-not-appearing When I select image using media picker it is showing blur images to me enter image description here

Can anyone help me how to show images ?

]]>
Manish Tue, 21 Nov 2017 08:48:18 +00:00
Editorder - after upgrade https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/89326-editorder-after-upgrade https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/89326-editorder-after-upgrade Hi

Umbraco version 7.6.12

Teacommerce 3.2.4 for Umbraco 7

I have upgraded umbraco from 7.2.8 and Tea Commerce from version 2.3.2 for Umbraco 7

I have a strange error when trying to edit order in teacommerce.

enter image description here

When i click on the order number to edit and see the order, i get to this url:

/App_Plugins/TeaCommerce/Views/Orders/EditOrder.aspx?storeId=1&id=58aeb870-3888-498e-8870-6a620c840c58

I would expect it to open the edit order but instead i get to this:

enter image description here

\MacroScripts\checkoutShippingPayment.cshtml 

Any suggestions :-)

René

]]>
René Tue, 21 Nov 2017 08:25:34 +00:00
Creating Custom Forms in Umbraco 7 https://our.umbraco.org/forum/templates-partial-views-and-macros/89321-creating-custom-forms-in-umbraco-7 https://our.umbraco.org/forum/templates-partial-views-and-macros/89321-creating-custom-forms-in-umbraco-7 I am upgrading our website to Umbraco 7 from Umbraco 4. In the older version I had created a number of custom forms out of user controls in .NET. These would handle pretty complex interactions and work with our database. As I am migrating to Umbraco 7 I have discovered that these forms will no longer work because Umbraco 7 uses Mvc and not Web forms.

My first question is, do I understand this accurately?

I've spent the day under the assumption that I'm going to have to rewrite all my forms as Mvc but I cannot find a good step by step tutorial on how to do it. I've gotten as far as staring a model and a surface controller, but I don't understand how to make it render on the site. Before I would just drop the user control and dll into the appropriate folders and reference it with a macro, but I don't know how to do this with the Mvc format.

I understand that I have to create a view but do I do this in visual studio and place it in the views folder like I used to do with the user control and reference with a macro somehow?

Should I install Umbraco into Visual Studio to get this working even though my site stands alone on another server?

If I have to install Umbraco into Visual Studio, what files do I need to move over to my site after compilation to get it to work?

I just became familiar with Mcv today, so pardon my ignorance if I don't have something right.

Thanks for any help you can provide!

]]>
James Paquette Mon, 20 Nov 2017 21:45:15 +00:00
"You have unsaved changes" in custom dashboard https://our.umbraco.org/forum/using-umbraco-and-getting-started/89316-you-have-unsaved-changes-in-custom-dashboard https://our.umbraco.org/forum/using-umbraco-and-getting-started/89316-you-have-unsaved-changes-in-custom-dashboard We've added a custom dashboard to our project. The dashboard connects to some Api's that I've written (inheriting from UmbracoAuthorizedApiController)

Everything works fine and there is no errors anywhere, but when I want to change the page, the popup box with "You have unsaved changes" message shows up.

What are we missing? How Umbraco detects that there is a change on the page?

]]>
Ashkan Sirous Mon, 20 Nov 2017 16:41:43 +00:00
Coupon discounts not included in product based tax calculation https://our.umbraco.org/projects/collaboration/merchello/merchello/89305-coupon-discounts-not-included-in-product-based-tax-calculation https://our.umbraco.org/projects/collaboration/merchello/merchello/89305-coupon-discounts-not-included-in-product-based-tax-calculation Hi

We are setting up a UK store with taxes applied to > Product and taxes > included in product pricing.

We have swapped to the ProductBasedTaxationInvoiceItemazationStrategy in merchello.config and can see how the ProductBasedTaxationVisitor is splitting the product price and the tax, which looks OK.

Up to this point, everything is working as we would expect.

However, when a discount coupon is added, the total tax (VAT) appears to be calculated on the full product price and not on the discount price after the coupon is applied. This results in the total VAT calculation being incorrect.

We've noticed that the ProductBasedTaxationVisitor has a comment saying "// TODO merchCouponAdjustedProductPreTaxTotal" - is this the missing step that would result in the correct tax calculation when there is a discount coupon?

We've made our own copy of the ProductBasedTaxationInvoiceItemazationStrategy and ProductBasedTaxationVisitor so we can implement a custom version, as required. However, we can't see any way to lookup the value for merchCouponAdjustedProductPreTaxTotal from within the ProductBasedTaxationVisitor. For example, how could we pass in the merchCouponAdjustedProductPreTaxTotal to clone.Price = ConvertToDecimal(item.ExtendedData.GetValue(priceKey))? Would this be the recommended approach?

Many thanks

Sam

]]>
Sam Flanagan Mon, 20 Nov 2017 11:32:48 +00:00
Failed to download package https://our.umbraco.org/forum/using-umbraco-and-getting-started/89291-failed-to-download-package https://our.umbraco.org/forum/using-umbraco-and-getting-started/89291-failed-to-download-package Hello,

Whenever I try to download and install /any/ package it gives the following error:

Failed to download package with guid xxxx-xxxx-xxxx-xxx (ref img)

failed download

The guid ID is different with every package but that works how it's suppose to.

Everything has been checked already, folder permissions, server permissions etc etc. Install local packages doesn't work either, nothing happens when the file gets dragged in the box.

I am using umbraco version 7.5.3. What's wrong? Why doesn't this work.

]]>
Mike Dorst Mon, 20 Nov 2017 09:44:31 +00:00
Color Picker returning numbers https://our.umbraco.org/forum/templates-partial-views-and-macros/89271-color-picker-returning-numbers https://our.umbraco.org/forum/templates-partial-views-and-macros/89271-color-picker-returning-numbers I'm using the Color Picker all over the site I am working on. Recently, I updated from 7.3.1 to 7.7.5 and some of the colors stopped working. Specifically, some colors seem to be interpreted and returned as numbers in scientific notation.

For example, 949e16 is one of the colors. When I try to retrieve it using someContent.GetPropertyValue<string>("color") I get 9.49E+18.

I've tried re-adding that prevalue to the data type. I've tried republishing all the content that uses the color picker. I've changed the values to other colors and they work fine, but any hex code that resembles a number is converted when I retrieve the value.

Any help is appreciated.

]]>
Andrew Moscardino Fri, 17 Nov 2017 16:39:55 +00:00
Getting Media's URL from Umbraco's UID https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89243-getting-medias-url-from-umbracos-uid https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/89243-getting-medias-url-from-umbracos-uid Hi,

I'm using Umbraco V7.6 I'm quite new with umbraco and still experimenting this CMS.

I'm trying to return a string of the media's URL in my XYZapicontroller class.

in my XYZapicontroll class i added this following line,

            string media = (ctx.cmsPropertyDatas.Where(x2 => x2.propertytypeid == rwupload.id && x2.contentNodeId == x.nodeId).First<cmsPropertyData>().dataNtext == null) ? "none" : ctx.cmsPropertyDatas.Where(x2 => x2.propertytypeid == rwupload.id && x2.contentNodeId == x.nodeId).First<cmsPropertyData>().dataNtext;

and i got back a string media of:

<Media>umb://media/d5e0b425a5704c2d8117bae2c5447eab</Media>

how do I convert this UID into the media's URL so that a mobile app that im developing will be able to play/view this media file?

Thanks and Appreciate the help

Melvin

]]>
Melvin Chew Thu, 16 Nov 2017 08:33:31 +00:00
UmbracoUrlAlias Issue with fullstop in Url "." https://our.umbraco.org/forum/using-umbraco-and-getting-started/89208-umbracourlalias-issue-with-fullstop-in-url https://our.umbraco.org/forum/using-umbraco-and-getting-started/89208-umbracourlalias-issue-with-fullstop-in-url I'm building a website for a Franchise network and each Franchise has access to manage their own pages (minisite) within Umbraco.

Each Franchise minisite has an UmbracoUrlAlias as their vanity Url. The vanity Url will ALWAYS have 1 or more fullstops, as it is derived from their email address.

Eg:

If I use an UmbracoUrlAlias without "." Umbraco loads it fine, obviously. If I use the ".", it only loads with a trailing slash. Without a trailing slash , it hits IIS and responds with 404.

Eg:

I can't use trailing slashes. I suspect it's hitting IIS because it thinks the URL is a file extension.

How can I get around this? I would use a NotFoundHandler, but it doesn't even hit the Umbraco routing.

]]>
Vince Scordino Wed, 15 Nov 2017 03:55:06 +00:00
Custom Validate File Upload Control in Backend Admin https://our.umbraco.org/forum/using-umbraco-and-getting-started/89179-custom-validate-file-upload-control-in-backend-admin https://our.umbraco.org/forum/using-umbraco-and-getting-started/89179-custom-validate-file-upload-control-in-backend-admin I just started learning Umbraco. Is there a way to customize and validate file upload control which in backend admin?

]]>
vamsi Tue, 14 Nov 2017 05:34:56 +00:00
Umbraco 7.7 user group how to (Not member group or type) https://our.umbraco.org/forum/using-umbraco-and-getting-started/89154-umbraco-77-user-group-how-to-not-member-group-or-type https://our.umbraco.org/forum/using-umbraco-and-getting-started/89154-umbraco-77-user-group-how-to-not-member-group-or-type Hey guys My first post/solution seeking. C# developer Short question, how do I programmatically create new user groups and assign a user to that group. We just upgraded to 7.7.4 from 7.4.2.

We had to change some of our custom code creating or editing users (not members) with existing user types and assigning permissions to users directly, to now assigning permissions to groups. This is all part of a sync service pushing users into umbraco from another application where users and and categorisation entities called tiers are created.

The architecture of our application requires that we create multiple new groups unique to the user's role and each tier he has access to. Content also are categorised by these tiers so permissios have to be synced regularly.

We really need to know the best way to create these new user groups in c# and immediately be able to assign users to them.

Thanks in advance

]]>
alexander odhomi Fri, 10 Nov 2017 19:11:54 +00:00
Approved Color property editor in a Macro https://our.umbraco.org/forum/templates-partial-views-and-macros/89150-approved-color-property-editor-in-a-macro https://our.umbraco.org/forum/templates-partial-views-and-macros/89150-approved-color-property-editor-in-a-macro Hi, I have a requirement to insert some content blocks with a specific look and feel into page content. The content block can have different background colors from an authorized list.

A partial macro was the first thing that came into my mind, and the color picker is absolutely the kind of property editor I need for my macro. Unfortunately the color picker is not one of the allowed property editors so my question is: do I really have to create the custom property editor by duplicating the code for the default color picker? Really there is no other way to do this?

Thanks, M

]]>
Michele Bartolucci Fri, 10 Nov 2017 15:41:57 +00:00
Plumber when user has no Update access to node https://our.umbraco.org/projects/backoffice-extensions/plumber-workflow-for-umbraco/plumber-workflow-for-umbraco-discussion-and-troubleshooting/88994-plumber-when-user-has-no-update-access-to-node https://our.umbraco.org/projects/backoffice-extensions/plumber-workflow-for-umbraco/plumber-workflow-for-umbraco-discussion-and-troubleshooting/88994-plumber-when-user-has-no-update-access-to-node Hi Nathan,

Plumber is not working correctly with the user group permissions in 7.7.

I have set up a standard Umbraco group which only has access to Browse a particular node, but with Plumber installed I still get options To Save, Request Publish, and Request Unpublish. In a different instance of a standard Umbraco install, without Plumber, I just see the Preview button.

When I click on Save it correctly does not allow it, but it gives me a horrible red error message with the Json of the page content which is likely to scare many users!

Unathorized Error

So regardless of the Plumber workflow I have configured, if the User is in a Group which does not have access to Update a node then I would expect to only see the Preview button.

Regards,

Tim

]]>
Tim Watts Thu, 02 Nov 2017 12:34:56 +00:00
What is the difference compared to Nested Content https://our.umbraco.org/projects/backoffice-extensions/stacked-content/stacked-content-feedback/88988-what-is-the-difference-compared-to-nested-content https://our.umbraco.org/projects/backoffice-extensions/stacked-content/stacked-content-feedback/88988-what-is-the-difference-compared-to-nested-content Hi guys,

Just curious what the difference is compared to Nested Content except for the UI changes ?

Dave

]]>
Dave Woestenborghs Thu, 02 Nov 2017 08:36:44 +00:00
Reupload of image https://our.umbraco.org/projects/backoffice-extensions/tinifier/project-related-issues/88056-reupload-of-image https://our.umbraco.org/projects/backoffice-extensions/tinifier/project-related-issues/88056-reupload-of-image Hey Backend Devs!

We, TeaSolutions, recently discovered your package and currently testing how we can use it for our projects. The current project I'm working on, we tend to use the re-upload function often, so we don't have to select it in content if we change the image. enter image description here

The problem we bumped into was, if the image is already compressed and you reupload a new one, you won't be able to compress the new image. It will say the Image is already compressed. Is that something you have thought about or experienced from other users?

Our intend of the package is, that our customers will be able to use it themselves without it being a big task to change images.

Another thing us devs talked about was the list of Optimized Images. Since we have projects with 1000+ images, the list easily gets a mess and doesn't seem that helpful to the customer. Have you had any further thoughts about this list? Could it be an idea to make it optional?

]]>
Rasmus Pedersen Tue, 12 Sep 2017 14:35:00 +00:00
GDPR and Umbraco https://our.umbraco.org/forum/umbraco-forms/87156-gdpr-and-umbraco https://our.umbraco.org/forum/umbraco-forms/87156-gdpr-and-umbraco Hi,

We're currently reviewing the affects of the GDPR legislation (Wikepedia Link) that is due to come into force in May 2018 and one of the implications of GDPR is data encryption and how personal data is stored at rest and in transit.

So we were wondering, has the Core team considered the implications of the new legislation and whether or not encryption should now be included in the core (and enabled by default) in order to meet this legislation (and just data security in general?).

I've raised this in the forms forum as it's probably the logical place given this is the most likely functionality to gather personal information, however I guess this could also apply to members and/or users.

Has anyone else looked into this and if so, how far reaching does this go? I've even been wondering if the email addresses used for members should be encrypted as it's not clear to me where the line is drawn.

Cheers,

Simon

]]>
Simon Napper Fri, 28 Jul 2017 10:23:03 +00:00
Document Management system https://our.umbraco.org/forum/using-umbraco-and-getting-started/84078-document-management-system https://our.umbraco.org/forum/using-umbraco-and-getting-started/84078-document-management-system Hi,

Does anyone know of a great Document Management system for Umbraco 7.5?

Thanks

Jon

]]>
Jonathan Roberts Tue, 21 Feb 2017 09:27:06 +00:00
Azure AD Identity doesn't seem to provide email for auto-linking https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/80753-azure-ad-identity-doesnt-seem-to-provide-email-for-auto-linking https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/80753-azure-ad-identity-doesnt-seem-to-provide-email-for-auto-linking Hi all,

I've setup the Azure Active Directory Auth configuration and sigining in through our Azure AD works perfectly.

I've modified the AuthenticationOptions so the External Sign in automatically links the accounts, but it seems like the Azure AD doesn't provide an e-mailaddress to link.

adOptions.SetExternalSignInAutoLinkOptions(new ExternalSignInAutoLinkOptions(
            autoLinkExternalAccount:true));

It gives me the following exception

The requested provider (https://sts.windows.net/{id}) has not provided an email address, the account cannot be linked.

Is there a way to make this work? It works perfectly without the SetExternalSignInAutoLinkOptions setting.

]]>
Timo Willemsen Tue, 18 Oct 2016 16:39:55 +00:00
Capture current page name on submission https://our.umbraco.org/forum/umbraco-forms/79371-capture-current-page-name-on-submission https://our.umbraco.org/forum/umbraco-forms/79371-capture-current-page-name-on-submission Hi,

I have a form that is reused on quite a few pages and we would like to capture the page where the form submission has come from, and then show the entry (in the backoffice) with the page name. Is this possible?

I was thinking about including a hidden field as part of the form as a new question in the backoffice but then how can I pass the current page name to that hidden field?

Thanks, B.

]]>
Bijesh Tank Thu, 18 Aug 2016 08:47:42 +00:00
Paging Issue https://our.umbraco.org/projects/starter-kits/smart-blog/bugs-feature-requests/75882-paging-issue https://our.umbraco.org/projects/starter-kits/smart-blog/bugs-feature-requests/75882-paging-issue There is an issue with the paging where it doesn't retain the existing query string parameters (Category, Author, Tags)

Managed to do a work around with Javascript but it's not ideal.

]]>
Jon Ryan Wed, 16 Mar 2016 08:57:14 +00:00
TinyMCE - Paste from Word not working https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/61221-TinyMCE-Paste-from-Word-not-working https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/61221-TinyMCE-Paste-from-Word-not-working https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/54785-Paste-from-word,-help-needed

Following the advice above and in other threads, I cannot seem to get Paste From Word functionality working in Umbraco 7. 

I have enabled the new property on the RTE datatype, and the code is as follows:

<command>
   
<umbracoAlias>mcePasteAsWord</umbracoAlias>
   
<icon>images/editor/paste.gif</icon>
   
<tinyMceCommand value="" userInterface="true" frontendCommand="pasteword">pasteword</tinyMceCommand>
   
<priority>79</priority>
</command>

The button does not appear on the UI. However if I change the frontendCommand to "pastetext" it works fine.

 

]]>
Matt Tue, 10 Feb 2015 14:54:55 +00:00
Installing mobile analytics in umbraco mobile https://our.umbraco.org/forum/using/ui-questions/24504-Installing-mobile-analytics-in-umbraco-mobile https://our.umbraco.org/forum/using/ui-questions/24504-Installing-mobile-analytics-in-umbraco-mobile Hi,

I use the aspx page of the google analytics for mobile but I can't get it to work. Does anybody have an experience using it.

One step in using it is to add the ga.aspx file in the root folder of our site but I'm getting a page not found error in this.

]]>
Sherry Ann Hernandez Fri, 30 Sep 2011 11:30:13 +00:00