Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sjors Pals 617 posts 270 karma points
    May 27, 2014 @ 10:28
    Sjors Pals
    0

    Trigger not working on doctype or fields...

    Hi, i am new to Spindoctor, i made a trigger which works on stuff like OS or when i choose specific page, but when i try to use it on a documenttype or specific field contains text, the trigger is not fired, any idea's what i am doing wrong?

     

    The Trigger is defined in the database as follows:

     

    <ArrayOfProperty xmlns="http://schema.spindoctorhq.com/2011/06/Property" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

      <Property>

        <Name>TriggerRuleTypeTag</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">PageVisit.DocumentType</Value>

      </Property>

      <Property>

        <Name>DocType</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">Content</Value>

      </Property>

      <Property>

        <Name>PropertyName</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema"/>

      </Property>

      <Property>

        <Name>PropertyValue</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema"/>

      </Property>

      <Property>

        <Name>ValueComparison</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">0</Value>

      </Property>

      <Property>

        <Name>Description</Name>

        <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">At least &lt;span class="em"&gt;1&lt;/span&gt; visit to document type &lt;span class="em"&gt;Content&lt;/span&gt;</Value>

      </Property>

    </ArrayOfProperty>

  • SpindoctorBT 33 posts 124 karma points
    May 27, 2014 @ 12:25
    SpindoctorBT
    0

    Are you using the demo site? If so, try overwriting the Spindoctor dlls.

  • Sjors Pals 617 posts 270 karma points
    May 27, 2014 @ 12:36
    Sjors Pals
    0

    No i just downloaded the latest version of spindoctor on your website.

    I am running a umbraco 6.1.6 version.

  • SpindoctorBT 33 posts 124 karma points
    May 27, 2014 @ 20:38
    SpindoctorBT
    0

    Hi Sjors,

    How do you determine if the trigger has fired?

    Cheers, Wouter

  • SpindoctorBT 33 posts 124 karma points
    May 27, 2014 @ 22:35
    SpindoctorBT
    0

    Hi Sjors,

    There was indeed an error in the Document type and Property evaluator. Can you please check if the newly released v2.0.5.2 fixes your issue? http://www.spindoctorhq.com/download/

    Just replace the Spindoctor DLLs in your solution.

    Thanks,

    Wouter

  • Sjors Pals 617 posts 270 karma points
    May 28, 2014 @ 03:36
    Sjors Pals
    0

    Hi will try this tomorrow, i did check it by a trigger which was based on OS, which was working, same trigger not working on documenttype or properties.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies