I have done a bunch of researching how to call a JScript from a Mashup and it feels like it will not work. I did in fact create a JScript with a date funtion however I can’t seem to use it from the resource in the Mashup; even though it is in the manifest file. I’ve seen Karin’s post where the subject was brought up and the response was that it doesn’t work. When you say “script” would that mean a C# script? I have existing JScript running in the Mashup but it doesn’t seem to work the other way around.

Hello,
In my mashup, I am using this binding for a textbox :
{Binding Source={x:Static sys:DateTime.Now}, StringFormat={}{0:MM/dd/yyyy HH:mm:ss}, Mode=OneWay}
which works perfectly fine (thanks to this post :))
But now I am trying to regenerate this field’s value when I click on a button (to get the new current time).
I tried adding an event on the button click using the ‘SetProperty’ on my Textbox’s ‘Text’ value but it seems the time isn’t re-calculated… (I’m guessing it has something to do with the ‘Static’ part)
Is there any way to force this?
Thanks,
Best regards

Bonjour Thomas. Did you try the conditions, converters, and property setters? There are examples in the Mashup Designer > Help > Common Controls. Probably the property setter would work. I think this is more of a WPF/XAML question than a Smart Office Mashup question, and I have not done this before so I do not have an answer right now. Maybe remove Mode=OneWay. Did you search on the Internet? Maybe ask Karin or ask on the PotatoIT forum. /Thibaud

are people still out there?
I was wondering if it was possible to do something like this, but instead find the current period, or at least year & month, to populate a text box in the column header in FCS001 for a mashup