Quantcast
Channel: ActiveTopics
Viewing all 72689 articles
Browse latest View live

Umbraco 8 Debugging examine / lucene indexes

$
0
0

Hi.

In umbraco 7 and below it was an option to do a lucene search from the backoffice to inspect what and how Lucene and examine had indexed my documenttypes.

Now in umbraco 8 it seems like i only have the weaker Examine search so i cannot verify that everything is indexed as i want it to.

Is there a way to enable the old Lucene search option or do i have to write something to do it myself ?

And does anyone know the reasoning for taking these options away from us ? Umbraco 7 searcher: enter image description here

Umbraco 8 index: enter image description here

Cheers


Previous/Next Umbraco 8

$
0
0

Hello,

I am using Previous() and Next() on Umbraco 8 but it is not working.

Has someone used it on umbraco 8 ?

Thanks for helping.

Kusum

Umbraco Tree-search on custom fields

$
0
0

Is there a way to search in the content-tree for values in custom fields?

for instance: I have a nodetype containing a property "fldName".

How can I search (using the searchbar above the content-tree) for values in "fldName"? I've checked the internal search indexer (and searcher) and I've added the IndexUserFields to the InternalIndexSet.

It works when searching in the searcher on the Examine Developers tab. But I want to be able to search for that field in the content-search.

Or is this simply impossible?

Error sending Newsletter

$
0
0

Hi there,

im stuck with a problem sending out a newsletter:

enter image description here

Error message: NewsletterStudio, SendNewsletterService: Sequence contains no matching element : at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at NewsletterStudio.Bll.Providers.SubscriptionProviderFactory.GetReceiversBySubscriptionAlias(String value, SendOutParams parameters) at NewsletterStudio.Services.EmailTrackingItemService.CreateTrackingItems() at NewsletterStudio.Services.SendNewsletterService.SendEmails()

In the log it quotes the following:

2019-06-04 16:24:53,896 [P7408/D31/T477] INFO Umbraco.Web.Scheduling.ScheduledTasks - newsletterstudioSendout has been called with response: True

Any ideas?

Thanks

Nested foreach using children from content pickers

$
0
0

Hi Gurus,

Can someone help a noob :-)

I have created some cities, some clubs and some training-centers.

On each club/trainingcenter I have a contentpicker that points to the city, but how do I show which clubs and centers are present in the current city?

my current code looks like this:

    @{
        string nodeSel = Model.MapCityNodePicker.ToString();
        string nodeSelClubs = Model.MapClubNodePicker.ToString();
        string nodeSelCenters = Model.MapTrainingCenterNodePicker.ToString();
        string nodeSelDevCenters = Model.MapDevelopmentCenterNodePicker.ToString();

        var selection = Umbraco.TypedContent(nodeSel).Children("city")
                    .Where(x => x.IsVisible());
    }
    <ul>
        @foreach (var cityItem in selection)
        {
            var selClubsInCity = Umbraco.TypedContent(nodeSelClubs).Children("clubs").Where(x => x.IsVisible()));       
            <li>
                @cityItem.Name, Klubber: @nodeSelClubs, Talent: @nodeSelCenters, Udv.centre: @nodeSelDevCenters - @selClubsInCity.Count().ToString()

                <ul>
                    @foreach (var clubsItem in Umbraco.TypedContent(nodeSelClubs).Children())
                    {
                        <li>@clubsItem.Name, @clubsItem.cityPicker - @cityItem.id</li>
                    }
                </ul>
            </li>
        }
    </ul>
}

My question is how do I only get the clubs that has the "current" club selected? I'm guessing I have to write a ".Where(x => ..." but I can't seem to find the correct syntax

I hope someone can help me and make it all more clear :-)

/Jimmy Dan Mortensen

How to customize RTE editor style in backoffice

$
0
0

Hello!

I've created a custom RTE object to use in a grid content. I was wondering if there's anyway to add a background color to this object in the backoffice.

enter image description here

    <div ng-controller="Umbraco.PropertyEditors.Grid.RichTextEditorController as vm">

        <grid-rte
            configuration="model.config.rte"
            value="control.value"
            unique-id="control.$uniqueId"
            style="background: red"
        >
        </grid-rte>

    </div>

Show custom validation message in umbraco backed

$
0
0

Hi All,

I have added a custom email field to the member type. I am validating the member email with the custom email field for login. So I need to show a validation message in the Umbraco backend for already existing email while creating a new Umbraco member.

I am trying with the code below but it is not working as expected

private void MemberSaving(IMemberService sender, Umbraco.Core.Events.SaveEventArgs<IMember> e)
        {
            Random randomNumber = new Random();
            var umbracoHelper = new UmbracoHelper(UmbracoContext.Current);
            foreach (var memberItem in e.SavedEntities)
            {
                if (memberItem.ContentType.Alias == "Member")
                {
                    var Email = memberItem.Email;
                    var AdditionalEmail = memberItem.GetValue<string>("additionalEmail");
                    var IsExist = _memberService.GetByEmail(AdditionalEmail);
                    if ((string.IsNullOrWhiteSpace(Email.ToLower()) == string.IsNullOrWhiteSpace(AdditionalEmail.ToLower())) || IsExist!=null)
                    {
                        e.Cancel = true;                    
                        e.Messages.Add(new EventMessage("Invalid email", "You can not add already existing email...", EventMessageType.Success));

            }
       }
   }
}

Please help to find a solution for this

Thank You

Create Form Templates - Default Workflows

$
0
0

Hi,

I am currently in the process of simplifying the creation of forms for a site. I discovered that the templates for form creation (Comment Form and Contact Form) exist in \App_Plugins\UmbracoForms\Data\Templates.

I have successfully created my own with multiple fields, however I am unable to insert workflows upon creation.

I've edited the JSON and have tried referencing in the IDs of two workflows but none seem to be taken into consideration upon form creation. Example:

...      
      "useClientDependency": false,
      "workflows": [
        "c0a18a03-f068-46de-8b09-0f1556427a27",
        "d2874575-1bd8-48dd-bee7-8ef34dfc3df7"
      ],
      "datasource": null, ...

Is there something I am missing? Has anyone done something familiar?

Kind Regards, Lewis


Preview not working on load balanced environment

$
0
0

Hi,

We're using Umbraco on a load balanced environment (AWS). We've configured our load balancer so all traffic with a path starting /umbraco is treated as back office and therefore rooted to our single back office server, all other traffic is rooted to our load balanced servers.

This appeared to be working OK but only recently we've spotted preview is broken, the issue here is that the preview page uses an iframe which (through redirects) the src URL ends up without the /umbraco path (see line 37 of \umbraco.presentation\umbraco\dialogs\Preview.aspx.cs) and therefore is rooted to the load balanced servers which don't have the preview data.

Preview.aspx.cs line 37

Response.Redirect("../../" + d.Id.ToString(CultureInfo.InvariantCulture) + ".aspx", true);

The alternative is we host back office traffic on a different sub-domain, the solution we had we believe is more simple and only requires a single SSL. Does this look like a issue that should be looked at and raised on Umbraco issues?

Thanks

Andy

Umbraco 8 Nested Content always returns null value

$
0
0

I'm grabbing a nested content item from the home page and assigning it to a variable. I know that I've added values to the item in the back end, but no matter what I try it always returns null. I'm using Umbraco v 8.0.2.

This is my code:

// hours
var homePgID = 1065;
var hours = Umbraco.Content(homePgID).Value<IEnumerable<IPublishedContent>>("busHours").ToList();

Password Recovery Link in Email

$
0
0

V7.13.2 Webforms

The password recovery link in the email that gets sent contains the IP address instead of the domain. Why?

Querying document types in model constructor

$
0
0

Hello,

I've been able to successfully query page info from within a partial view, for example:

var info = Umbraco.TypedContent(2016).Children("foo").Where(x => x.IsVisible());

Is it possible to access the same information from within the model .cs file? Ideally, whenever a new instance of the model is created, I'd like to execute some code within the constructor that will populate one of the properties with info from a custom document type.

Or, if I'm thinking about this all wrong, let me know.

Thanks, Pam


UPDATE: I found the documentation I was looking for and was able to access most of the functionality with UmbracoHelper:

var umbracoHelper = new Umbraco.Web.UmbracoHelper(Umbraco.Web.UmbracoContext.Current);

Just had to make sure I added using System.Linq and Umbraco.Web

When can we expect Serverless Umbraco CMS on AWS?

$
0
0

I like many others use Wordpress for few reasons 1.Im not a developer, i cant write code - wordpress is super easy to publish my content, add plugins etc 2.Im not a server/cloud engineer, i cant setup an application on any servers - launching a wordpress on aws ec2 is super easy

however, i have hired freelancers to launch few serverless applications on AWS lambda. but wish if i can launch Umbraco Serverless CMS from AWS serverless marketplace then i dont have to rely on freelancers anymore

can anyone publish serverless Umbraco CMS to AWS marketplace?

AWS Serverless repository: console.aws.amazon.com/serverlessrepo/home?region=us-east-1#/available-applications

CultureInfo in PublishedCultureInfo

$
0
0

Currently in Umbraco, you are able to use GetCultures() on a page to get all the cultures. You'll get a dictionary of

If I were to create a multilanguage page, I would want to put links to the alternate pages in the head of the page. For this, I need the TwoLetterIsoLanguageName. Currently this is how I do it:

@if (Model.Cultures.Count > 1)
{
    foreach (string culture in Model.Cultures.Keys)
    {
<link rel="alternate" href="@Model.GetUrl(culture)" hreflang="@(culture.Substring(0, 2))" />
    }
}

I think that the property "Culture" on PublishedCultureInfo should be replaced to a CultureInfo object. We can easily use CultureInfo.GetCultureInfo(name) to load it in. I think it makes it easier for the user to use cultures.

I wanted to post it on the forums first to check for any feedback on the idea as it's also possible for the user to use CultureInfo.GetCultureInfo instead.

Single User Multi Location Login and Access

$
0
0

Hi,

I had used Umbraco 7 for development of basic News and Media Website. For project I am having following two issues, can anyone please help

  1. User Login from Multiple Devices at the same time. I want one user account could be able to login from multiple devices or browsers at the same time. Currently, one user account is able to keep loggedin from one device or browser at a time.

  2. Increase and Disable User Session Timeout The default user session timeout period is very small. How can I change the User Session Timeout period or completely disable . For this I had tried, <keepUserLoggedIn>true</keepUserLoggedIn>

Please note, I had hosted application on Microsoft Azure.


Scheduled publishing not working in Umbraco 7.6.1

$
0
0

We have three servers, one back office and two front end servers. The front end servers are load balanced. We have set UmbracoApplicationUrl in backoffice server. But scheduled publishing is not working. Logs say it can not work on slave server. Our backoffice server is not behind load balancer then why it is being considered as a slave server? I went through the below link: https://our.umbraco.com/documentation/getting-started/setup/server-setup/load-balancing/flexible-advanced#explicit-master-scheduling-server

But the challenge it poses is to run different codes on master and slave servers. Is there a work around?

Upgrade to 8.0.2 fails

$
0
0

I try to upgrade an Umbraco 8.0.1 Site to 8.0.2. Umbraco recognizes the correct version:

Upgrade

If I press Continue the following error message appears:

Failure

Nothing appears in the log.

{
    "@t": "2019-06-12T08:16:35.5242198Z",
    "@mt": "{StartMessage} [Timing {TimingId}]",
    "StartMessage": "Booting Umbraco 8.0.2.",
    "TimingId": "a3d41ca",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:35.5691922Z",
    "@mt": "Booting site '{HostingSiteName}', app '{HostingApplicationID}', path '{HostingPhysicalPath}', server '{MachineName}'.",
    "HostingSiteName": "www.bk.de",
    "HostingApplicationID": "/LM/W3SVC/5/ROOT",
    "HostingPhysicalPath": "C:\\Projekte\\Laykit\\UmbracoSite\\",
    "MachineName": "W10",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:35.9679668Z",
    "@mt": "Acquiring.",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:35.9719643Z",
    "@mt": "Acquired.",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:36.8228266Z",
    "@mt": "{StartMessage} [Timing {TimingId}]",
    "StartMessage": "Resolving composer types.",
    "TimingId": "3cba083",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:37.0137098Z",
    "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
    "EndMessage": "Resolved.",
    "Duration": 189,
    "TimingId": "3cba083",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:39.8149321Z",
    "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
    "EndMessage": "Booted.",
    "Duration": 4303,
    "TimingId": "a3d41ca",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 1,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
}{
    "@t": "2019-06-12T08:16:40.4655464Z",
    "@mt": "New url {Url} detected, re-discovering application url.",
    "Url": "http://www.bk.de:80/umbraco",
    "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 11,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 2,
    "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
}{
    "@t": "2019-06-12T08:16:40.4685448Z",
    "@mt": "ApplicationUrl: {UmbracoAppUrl} (UmbracoModule request)",
    "UmbracoAppUrl": "http://www.bk.de:80/umbraco",
    "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 11,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 2,
    "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
}{
    "@t": "2019-06-12T08:16:41.0962347Z",
    "@mt": "Umbraco must install or upgrade.",
    "@l": "Warning",
    "SourceContext": "Umbraco.Web.UmbracoModule",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 11,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "WARN ",
    "HttpRequestNumber": 2,
    "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
}{
    "@t": "2019-06-12T08:27:20.1106001Z",
    "@mt": "Updated version number from {OldVersion} to {NewVersion}",
    "OldVersion": "669278484",
    "NewVersion": "1953252036",
    "SourceContext": "Umbraco.Web.JavaScript.ClientDependencyConfiguration",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 13,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpSessionId": "0orij5z5ca5i53i4vf2detqp",
    "HttpRequestNumber": 3,
    "HttpRequestId": "228549b1-f92f-45c3-a6f3-862bf92361cf"
}{
    "@t": "2019-06-12T08:27:20.1375837Z",
    "@mt": "Stopping ({SignalSource})",
    "SignalSource": "environment",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 16,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO "
}{
    "@t": "2019-06-12T08:27:20.1445790Z",
    "@mt": "Released ({SignalSource})",
    "SignalSource": "environment",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 16,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO "
}{
    "@t": "2019-06-12T08:27:20.4134146Z",
    "@mt": "Application shutdown. Details: {ShutdownReason}\r\n\r\n_shutDownMessage={ShutdownMessage}\r\n\r\n_shutDownStack={ShutdownStack}",
    "ShutdownReason": "ConfigurationChange",
    "ShutdownMessage": "CONFIG change\r\nHostingEnvironment initiated shutdown\r\nCONFIG change\r\nHostingEnvironment verursachte ein Herunterfahren",
    "ShutdownStack": "   bei System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)\r\n   bei System.Environment.get_StackTrace()\r\n   bei System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()\r\n   bei System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand()\r\n   bei System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)\r\n   bei System.Web.Configuration.HttpConfigurationSystem.OnConfigurationChanged(Object sender, InternalConfigEventArgs e)\r\n   bei System.Configuration.Internal.InternalConfigRoot.OnConfigChanged(InternalConfigEventArgs e)\r\n   bei System.Configuration.BaseConfigurationRecord.OnStreamChanged(String streamname)\r\n   bei System.Web.DirectoryMonitor.FireNotifications()\r\n   bei System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback)\r\n   bei System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state)\r\n   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\r\n   bei System.Threading.ThreadPoolWorkQueue.Dispatch()",
    "SourceContext": "Umbraco.Web.UmbracoApplicationBase",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 19,
    "AppDomainId": 2,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO "
}{
    "@t": "2019-06-12T08:27:20.5253471Z",
    "@mt": "{StartMessage} [Timing {TimingId}]",
    "StartMessage": "Booting Umbraco 8.0.2.",
    "TimingId": "8c0f2b7",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:20.5573254Z",
    "@mt": "Booting site '{HostingSiteName}', app '{HostingApplicationID}', path '{HostingPhysicalPath}', server '{MachineName}'.",
    "HostingSiteName": "www.bk.de",
    "HostingApplicationID": "/LM/W3SVC/5/ROOT",
    "HostingPhysicalPath": "C:\\Projekte\\Laykit\\UmbracoSite\\",
    "MachineName": "W10",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:20.6672579Z",
    "@mt": "Acquiring.",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:20.6682575Z",
    "@mt": "Acquired.",
    "SourceContext": "Umbraco.Core.MainDom",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:21.0610168Z",
    "@mt": "{StartMessage} [Timing {TimingId}]",
    "StartMessage": "Resolving composer types.",
    "TimingId": "507056c",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:21.1099865Z",
    "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
    "EndMessage": "Resolved.",
    "Duration": 48,
    "TimingId": "507056c",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:23.2886261Z",
    "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
    "EndMessage": "Booted.",
    "Duration": 2776,
    "TimingId": "8c0f2b7",
    "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 22,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 1,
    "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
}{
    "@t": "2019-06-12T08:27:23.6404094Z",
    "@mt": "New url {Url} detected, re-discovering application url.",
    "Url": "http://www.bk.de:80/umbraco",
    "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 13,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 2,
    "HttpRequestId": "ceb93e06-3e9d-4711-913a-9e7b909ce93d"
}{
    "@t": "2019-06-12T08:27:23.6434078Z",
    "@mt": "ApplicationUrl: {UmbracoAppUrl} (UmbracoModule request)",
    "UmbracoAppUrl": "http://www.bk.de:80/umbraco",
    "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 13,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 2,
    "HttpRequestId": "ceb93e06-3e9d-4711-913a-9e7b909ce93d"
}{
    "@t": "2019-06-12T08:28:03.5533274Z",
    "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
    "EventType": "Information",
    "EventId": 0,
    "State": "Login attempt succeeded for username ******* from IP address 127.0.0.1",
    "SourceContext": "Umbraco.Core.Logging.OwinLogger",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 20,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 3,
    "HttpRequestId": "2b333a9a-c409-415b-818e-fd4bea1f5628"
}{
    "@t": "2019-06-12T08:28:03.5543268Z",
    "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
    "EventType": "Information",
    "EventId": 0,
    "State": "User: ******* logged in from IP address 127.0.0.1",
    "SourceContext": "Umbraco.Core.Logging.OwinLogger",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 20,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 3,
    "HttpRequestId": "2b333a9a-c409-415b-818e-fd4bea1f5628"
}{
    "@t": "2019-06-12T08:30:20.5753540Z",
    "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
    "EventType": "Information",
    "EventId": 0,
    "State": "Login attempt succeeded for username ******* from IP address 127.0.0.1",
    "SourceContext": "Umbraco.Core.Logging.OwinLogger",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 20,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 4,
    "HttpRequestId": "c07938e7-5c20-45d8-94fa-79ffcbc59edc"
}{
    "@t": "2019-06-12T08:30:20.5763531Z",
    "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
    "EventType": "Information",
    "EventId": 0,
    "State": "User: ******* logged in from IP address 127.0.0.1",
    "SourceContext": "Umbraco.Core.Logging.OwinLogger",
    "ProcessId": 21768,
    "ProcessName": "w3wp",
    "ThreadId": 20,
    "AppDomainId": 3,
    "AppDomainAppId": "LMW3SVC5ROOT",
    "MachineName": "W10",
    "Log4NetLevel": "INFO ",
    "HttpRequestNumber": 4,
    "HttpRequestId": "c07938e7-5c20-45d8-94fa-79ffcbc59edc"
}

umb-editor-sub-views directive

$
0
0

I am in the proc ess of upgrading examine inspector to v8. I have the following

enter image description here

The select index option is new tab i have added as i am using umb-editor-sub-views for the tabs. In the controller i have init indexes method that populates the drop down. That used to work, however now that i have moved it into its own partial which is then loaded by umb-editor-sub-views that drop down is empty.

Looks to me like some load order issue? Anyone any suggestions?

There does not seem to be much in the way of docs on this.

Regards

Ismial

Send queryparameter to thank you page

$
0
0

Is it possible in UmbracoForms to send a query parameter to the thank you page? For instance, I want a hidden field to be sent to the thank you page (/form/thankyou?field=xxx) so that I can track it with Google Analytics. Does anybody know if this is possible?

Thanks in advance!

ContentQuery Search returns wrong amount of records

$
0
0

Hello,

I'm building a search page and I can't seem to get the right amount of results from using Umbraco.ContentQuery.Search with skip and take. I'm not sure if I'm doing something wrong or if it's a bug with the method.

To give you some examples:

var result = Umbraco.ContentQuery.Search(searchQuery, 0, 10, out long totalRecords, string.Empty);

Yields totalRecords: 191, result.Count(): 8

var result = Umbraco.ContentQuery.Search(searchQuery, 5, 10, out long totalRecords, string.Empty);

Yields totalRecords: 191, result.Count(): 12 and doesn't skip any results

var result = Umbraco.ContentQuery.Search(searchQuery, 0, 15, out long totalRecords, string.Empty);

Yields totalRecords: 191, result.Count(): 12

var result = Umbraco.ContentQuery.Search(searchQuery, 5, 15, out long totalRecords, string.Empty);

Yields totalRecords: 191, result.Count(): 16 and doesn't skip any results

Viewing all 72689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>