Skip to Content

MDK - how to concatenate string and OData value while binding to display it

Hi All,

I'm trying to bind the static string along with the OData value in object table. But it not working. will the concatenation work like this. In the attachment you can see the footnote, trying for this kind of result. Did I made any mistake in the below image?

Thanks

Ranjith

concat.png (16.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jun 26, 2020 at 12:59 PM

    Ranjith,

    We are working on supporting a simplified binding syntax in our next release which should allow that exact value to work as expected. In the meantime, you can use the Binding Target Path syntax in the Object Browser to achieve your result. Here is what your Footnote value should look like.

    Schedule Finish Date: {{#Property:ScheduleFinishDate}}
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2020 at 09:54 AM

    Update:

    With MDK 4.3 release, we now supports simplified binding syntax.

    E.g. below syntax

    Schedule Finish Date:{{#Property:ScheduleFinishDate}}

    can be rewritten as:

    Schedule Finish Date:{ScheduleFinishDate}
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 26, 2020 at 12:56 PM

    The concatenation would work unless you have manually inserted a newline character between ScheduleStartDate and Schedule Finish Date. Even in this case you should still see ScheduleStartDate.

    The footnote would ideally wordwrap by itself when the content goes beyond a certain limit. In this case you can try to manually insert space between ScheduleStartDate and ScheduleFinishDate and then you should be able to see the content in 2 lines.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 26, 2020 at 01:01 PM
    Add a comment
    10|10000 characters needed characters exceeded