Sign In   Register
Pinned Items
Recent Activities
  • Glenn Crook's reply was accepted as an answer
    Hi Alan Lee ,
    When developing a Maestro form, you cannot call services for several reasons. The first reason is that it is likely that your form is located on one of the shared Maestro instances which will not have the service available. On the...
    Hi Alan Lee ,
    When developing a Maestro form, you cannot call services for several reasons. The first reason is that it is likely that your form is located on one of the shared Maestro instances which will not have the service available. On the shared instances we do not install services as this should be done on your organisations Journey Manager instances. The second reason is that even if it was available on the same environment, previewing the form generates the form and injects it into an iFrame and only is running in your browser, it is not part of a transaction so Journey Manager would not acknowledge the service call it would not have a valid request key that Journey Manager requires to handle a dynamic service call.

    If you refer to the API documentation for Form.addPreviewDDSData(serviceName, dataOrHandler) you can add script to your code that does something like:

    if (Resource.preview) {
    Form.addPreviewDDSData("myService", {name: "Glenn", team: "Journey Maestro"})
    }

    or something like:

    if (Resource.preview) {
    Form.addPreviewDDSData("myOtherService", function(params) {
    if (params.name) {
    return {message: "Hello "+params.name }
    } else {
    return {message: "Hello unnamed person"}
    }
    });
    }

    This way you can test your function calls while providing stub data as publishing the form and pushing it to your Journey Manager instance and then testing your form does have a longer round trip than using preview.
    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Hi Alan Lee ,
    When developing a Maestro form, you cannot call services for several reasons. The first reason is that it is likely that your form is located on one of the shared Maestro instances which will not have the service available. On the...
    Hi Alan Lee ,
    When developing a Maestro form, you cannot call services for several reasons. The first reason is that it is likely that your form is located on one of the shared Maestro instances which will not have the service available. On the shared instances we do not install services as this should be done on your organisations Journey Manager instances. The second reason is that even if it was available on the same environment, previewing the form generates the form and injects it into an iFrame and only is running in your browser, it is not part of a transaction so Journey Manager would not acknowledge the service call it would not have a valid request key that Journey Manager requires to handle a dynamic service call.

    If you refer to the API documentation for Form.addPreviewDDSData(serviceName, dataOrHandler) you can add script to your code that does something like:

    if (Resource.preview) {
    Form.addPreviewDDSData("myService", {name: "Glenn", team: "Journey Maestro"})
    }

    or something like:

    if (Resource.preview) {
    Form.addPreviewDDSData("myOtherService", function(params) {
    if (params.name) {
    return {message: "Hello "+params.name }
    } else {
    return {message: "Hello unnamed person"}
    }
    });
    }

    This way you can test your function calls while providing stub data as publishing the form and pushing it to your Journey Manager instance and then testing your form does have a longer round trip than using preview.
    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    Please log this issue with support so they can investigate the issue

    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    Please log this issue with support so they can investigate the issue

    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    While this looks strange, it is actually fairly simple when you look at it on one line like below:
    $IF{${use.state.code},AL|AK|...|WV|WI|WY,${displayvalues}} which uses the format $IF{condition,truevalue,falsevalue} and the condition is the value...

    While this looks strange, it is actually fairly simple when you look at it on one line like below:
    $IF{${use.state.code},AL|AK|...|WV|WI|WY,${displayvalues}} which uses the format $IF{condition,truevalue,falsevalue} and the condition is the value from the property use.state.code which in this case is the checkbox above the dropdown data options and if it is then it uses the code list otherwise it uses the property displayvalues which is the list below values in the screenshot.

    With regards to your issue, are you able to put the value in one text field and add another that gets the dropdown and compare the values to make sure that the text and the case match?

    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    Calculations are executed in JavaScript and financial functions from Excel are not included in JavaScript but you can get versions of them for JavaScript. The included JavaScript Math functions can be found at https://developer.mozilla.org/en/docs...

    Calculations are executed in JavaScript and financial functions from Excel are not included in JavaScript but you can get versions of them for JavaScript. The included JavaScript Math functions can be found at https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Math and anything further can be included in a function either in an included JavaScript file or in-lining the function inside the calculation script. When defining a function to inline use the following declaration style:

    var myFunction = function(f1,f2) {

        return f1+f2;

    }

    JavaScript implementations of Excel functions can be found on various sites, eg https://www.google.com.au/search?q=javascript+pmt+function but as with anything sources from user contributed sites such as Stack Overflow please read the comments to make sure it works as intended and test it thoroughly.

    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    This is due to the regular expression we have chosen to use for Composer's email address fields. Domain names are case insensitive which is why the domain is lowercase only and the user name is reasonable to change to allow uppercase letters....

    This is due to the regular expression we have chosen to use for Composer's email address fields. Domain names are case insensitive which is why the domain is lowercase only and the user name is reasonable to change to allow uppercase letters. This can be changed on the field by adding A-Z next to a-z in the existing regular expression and this can be set in a stylesheet so all fields on your forms get this setting.

    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    This is not supported at this stage in Maestro, it is a feature that would be good to be considered for future versions but this is up to the product team.

    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • Glenn Crook's reply was accepted as an answer

    Hi Gerry, do you mean XML instead of XLS? If you mean XML are you wanting an empty element if the field is empty or do you want there to be no element if the field is empty? As long as the field is bound properly the XML will contain the element...

    Hi Gerry, do you mean XML instead of XLS? If you mean XML are you wanting an empty element if the field is empty or do you want there to be no element if the field is empty? As long as the field is bound properly the XML will contain the element and be empty if the field has no value.

     

    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
There are no activities here yet
Unable to load tooltip content.

Not a member?

Register to ask a question and access to more content.

Join now

Looking for something else?

You can request access to:

  • Courses
  • Full Release Notes
  • Product Downloads
  • SDK

Request access