Forum Discussion

FICO's avatar
FICO
Community Manager
16 years ago

Blaze 6.7- Formula builder

Blaze 6.7- Formula builder

Hi,

We are facing issue with Formula builder which comes with blaze 6.7.

We have added value holder for formula template. While adding placeholder for this value holder, we mentioned page location as "Same Page". When we try testing formula builder, if we select "Variable Expression" as right/left operand then along with variable expression it displays code template name as well. With each new trail, it displays that template name.

e.g (1 +Object.property Code Template1  +/-/*/..)

Note: If we select page location as "new page" then template name not get displayed but we need the formula template on the same page and not on new page. 

Any help in this regard would be great!!

Thanks,

Saee

5 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    I haven't had a chance to try the formula builder yet, but I usually see this when I am including templates that does not have a display value. I would guess that "Code Template1" has an empty display value.

    A quick fix for this is to add " " to the display value. This won't alter the display (it's only a space), but it's also not empty.

    Regards,

    Jostein

  • FICO's avatar
    FICO
    Community Manager

    Thanks Jostein!

    Even if I give any string in the display value, it was taking that display value So for example if display value is Add Formula then it will display as "Operand1 +/-/*/ ObjectProperty Add Formula".

    I tried giving   But the Issue is I want to display value "Add Formula" in Condition Group Template list. So if I give   then it displays " " in the Conditions drop-down list.

    Also, there are issues with SetOp functions also. If I try to setop as Average of (...) then front end it keeps on asking to add object properties and at the backend we can not see the average function.

    We are facing issues with Formula Builder so any help in this regard would be great!

    Thanks vm,

    Saee 

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    Yeah, I was a bit unclear there, sorry about that.

    In the "Template Display Name", enter the name you would like to see in drop down boxes etc. This will be the "name" of the template.

    Then, your problem is that this name is shown as part of the "output" shown to users. In the past, this has happened to me when I do not specify a "Display Format" (the field above the "SRL Content" in the Code Template editor). Try adding   to the "Display Format" field so that it isn't empty.

    You can also use " " (one blank character), but they're more difficult to see (and therefore easy to forget...)

    Regards,

    Jostein

  • FICO's avatar
    FICO
    Community Manager

    Thanks Jostein!

    If I give   in the Display Format sescion then I'll not be able to see the formula on RMA screen right? I need to see the formula and able to make changes in it.

    We have ValueHolder of type formula-template defined and we've given placeholder for it in the Display Format section.

    Many Thanks,

    Saee

  • FICO's avatar
    FICO
    Community Manager

    Yes, you obviously want to see the formula

    I don't know how you have structured your templates, so this is just a general observation: 

    When you see the display name of a template after some template content, it is usually because there is a template without a display format. In that case, because there is no display format, one solution would be to add " ", because it "is content" according to the template display mechanism, but it won't be visible to the user. 

    So, check if there is a template there that does not contain a display format either the template whose display name you see, or the template that has a value holder referring to the template whose display name you see. The reference can also be through a template list.

    HTH, 

    Jostein