Hi, all,
I have a problem: I'm trying to use if else statement into a script, but alfresco execute both options:
if (UserSpace== null)
{
var One = AnotherSpace.createFile("One.html");
}
else
{
var Two = UserSpace.createFile("Two.html");
}
The result is that "One.html" and "Two.html" file are created. Why?
Thank you in advance. Raquel.