AnsweredAssumed Answered

Nintex forms custom inline function not working

Question asked by mohammad.mavia1 on Sep 4, 2016
Latest reply on Sep 6, 2016 by mohammad.mavia1

Hi,

 

i was creating a custom inline function i have perform all things like mentioned in this article

https://community.nintex.com/docs/DOC-1233

but my function is not working.
i have put it in a Default value of a Text box, instead of running the function it copies the name of the function in the default value of the text box as mentioned in the image.

 

 

below is my function and the command  have write

 

namespace IsEnglish
{
public static class Function
{
public static string Is_English()
{
var _lcid = System.Threading.Thread.CurrentThread.CurrentCulture.LCID;
var _lcidUI = System.Threading.Thread.CurrentThread.CurrentUICulture.LCID;

 

return "LCID: "+_lcid+" LCID-UI: "+_lcidUI;
}
}
}

 

Command:
Add-InlineFunction -FunctionAlias "fn-CustomIsEnglish" -AssemblyName "IsEnglish, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c559cde2944155fd" -Namespace "IsEnglish" -TypeName "Function" -MethodName "Is_English" -Usage "fn-CustomIsEnglish()" -Description "Returns a lcid"

 

Thanks

Outcomes