Forum Replies Created
-
VitaliModerator
- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: PDF PageSizeVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: Which URL to use for a Server Environment?VitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years ago::Hi Christian,
i’m sorry to tell you that you can’t do it this way. The reason it is not working is that nonWorkingDays needs to be an array but you define it as a string with the value “[0,1]”
I would suggest you to create a global variable of the type array of int (which you can create with a collection and the basetype integer). Afterwards you can set the default value to [0,1] in the json view.
VitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years ago::Hi Hannah,
the pop function works, as we also use it in some applications.
Have you checked if the value of your global variable is actually an array?
Where do you use that code sample(application script block, serverside businessobject, clientside buisness object)?
Here’s also a quick reference to the documentation: Array.prototype.pop()
in reply to: Java STACK.pop()VitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years ago::Hi Patrick,
the nativ QR-Code feature is only for mobile devices, if you want to decode the QR-Code in your Web Application, you’re going to need a external library (you can try this one https://github.com/LazarSoft/jsqrcode) for it.
Afterwards you can build a videostream to scan the QR-Code or you can upload the QR-Code as image and decode it with your chosen library.
in reply to: QR code scanner in a web appVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years ago::Hi Gabriel,
the call you are using seems to work only with elements bound via Simplifiers visualbinding.
In the example the table was bound via an ItemsPath, so the context of the model on pressing the item is not the view name but requires the name ‘variableHolder’.
Please create an new Clientside BusinessObject and create a Method analogous to “ITIZ_Utilities “-> “GetSelectedListItem”.
Afterwards change the scriptline 4 into:
var oOriginal = lo_listItem.getBindingContext(Object.keys(oSelectedItem.oBindingContexts)[0]).getObject();
We are currently working on a solution in ITIZ_Utilities to correct this error.
in reply to: How to set data in table by scriptingVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: Accessing nested objects in the PDF PluginVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.in reply to: Using playground.simplifier.cloud for Basic-100VitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: Using playground.simplifier.cloud for Basic-100VitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years ago::Hello Dora,
the first option is, to manually rebuild your current Application as an Simplifier Application, that means to create every screen and action by yourself. This will make the management and maintenance easier afterwards.
the second option, that we do not recommend, is to create a Simplifier Application and then copy your code into the file of the “code” section. After copying your code into the “code” section you should just need to save the scripts. If you deploy the Application your pasted code will be overwritten by the configured simplifier app which is empty in your case.
It is uncertain to say that copying your UI5 application project structure to the “code” section of Simplifier will work
in reply to: UI5 Freestyle-App as a Simplifier App / ModuleVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: UI5 Freestyle-App as a Simplifier App / ModuleVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 2 years agoin reply to: Template: iterating over a collectionVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 3 years ago::Hi Ralf,
I’m sorry to tell you that it’s not going to work out the way you want it to.
UI5 doesn’t provide any way to access the current element or its properties in expression/property bindings, since they are included in the View.json.
If you just don’t want to use your USER_Struct variable for the binding, a possible alternative could be to write the values of the selected property of each checkbox into a view model and then reference the model path in the binding of the key property of the respective checkbox in the UI Designer. For this you need to take care of initializing the view model first though.
If you want to have an example of the ‘ViewModel’ solution, I’ll be happy to provide you with one.
As another option you could add a formatter function to the property binding of ‘selected’ for each checkbox but again, this would rely on scripting and usage of model binding.
Regards,
Vitali
in reply to: Checkbox with string outputVitaliModerator- Topics: 0
- Replies: 14
Has successfully completed the online course No-Code.Has successfully completed the online course Low-Code.Has successfully completed the online course Pro-Code.Has successfully completed the online course Basics - 100.# 3 years agoin reply to: Checkbox with string output