
Andreas Pfeiffer
Forum Replies Created
-
Andreas Pfeiffer
AdministratorMarch 12, 2025 at 8:30 am in reply to: Integrating AmCharts into Omnis StudioHi Martin,
It could be that the sample library was created using the Omnis Studio Professional Edition. In that case you cannot open it using the Community Edition. But I am not sure. Maybe you can ask the author.
Best,
Andreas
-
Is it $horzscroll?
-
Hi Martin,
Yes – this is possible within Omnis.
Check out the pictconv… functions. Here is a link to the documentation: https://www.omnis.net/developers/resources/onlinedocs/FunctionRef/Functions_A-Z/pictconvfrom.html#pictconvfrom
There is also a function to find out what format the picture is: https://www.omnis.net/developers/resources/onlinedocs/FunctionRef/Functions_A-Z/pictformat.html#pictformat
Hope this helps.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorFebruary 3, 2025 at 8:10 am in reply to: Secure Logon to Omnis Web AppAwesome Uwe, well done!
We love to see our customers happy!
Best regards,
Andreas
-
Andreas Pfeiffer
AdministratorJanuary 20, 2025 at 2:13 pm in reply to: passing param into loading overlayMartin,
Do not use a server side timer.
Instead use the timer control and run the timer on the client side.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorJanuary 9, 2025 at 2:04 pm in reply to: Secure Logon to Omnis Web AppHi Uwe,
You might want to check out the JS Preferences sample library in the HUB. It allows to store a secret key in the local storage of the browser.
However doesn’t the browser support to store the credentials? It should work automatically to load the credentials from the password manager when visiting the site.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorDecember 30, 2024 at 9:33 am in reply to: Merging list losing smart propertiesMartin,
I think it is because you are joining the list. That might destroy the $smartlist. I wonder why you are not simply using the import list instead?
Alternatively you could use a $sendall instead:
Do iDataList.$clear()
Do iDataList.$smartlist.$assign(kTrue)
Do iImportList.$sendall(iDataList.$add().$assignrow($sendallref))
Do iDataList.$dowork()
But – it is confusing for me that you are actually calling this method from the popup form – but you are not passing the list as a parameter from the popup form into the method that suppose to store this. Why not saving the data directly within the popup form instead calling a method in the main form?
Best,
Andreas
-
Uwe,
Brilliant! Have a nice day.
Best,
Andreas
-
Hi Uwe,
It is probably because you are creating the content on the server and the server has no clue about the language being used. You can either change $language or you can change the $prefs.$separators() if you want to support more than one language.
Best,
Andreas
-
Awesome!
Have a great day!
Best,
Andreas
-
Andreas Pfeiffer
AdministratorFebruary 12, 2025 at 10:46 am in reply to: Omnis goes PlantUml with C4 Plugin, but how do I write the content to a fileGreat! It will good to see you again!
Best,
Andreas
-
Andreas Pfeiffer
AdministratorFebruary 10, 2025 at 9:45 am in reply to: Omnis goes PlantUml with C4 Plugin, but how do I write the content to a fileHello Rainer,
You are welcome. I am glad you found my technical note.
Also there is a sample library in the HUB that shows how to import or export when using a remote form: jsFileUploadDownload
Best,
Andreas
-
Andreas Pfeiffer
AdministratorJanuary 28, 2025 at 8:21 am in reply to: Secure Logon to Omnis Web AppHi Uwe,
I did a quick test with the sample library from the HUB copying the following into the $init method of the remote form:
Do lPrefRow.$define(lPrefName,lPrefValue)
Do lPrefRow.$assigncols('omnis_pref1','iPref1')
Do $cinst.$clientcommand("loadpreference",lPrefRow) Returns #F
Do method process (iPref1)
The “process” method is a server executed method and will receive the loaded content. Note that iPref1 needs to be an instance variable though.
You can then use this information to make a $changeform or assign a specific subform if you wish.
I hope this helps.
Best,
Andreas
-
This reply was modified 6 months ago by
Andreas Pfeiffer.
-
This reply was modified 6 months ago by
-
Andreas Pfeiffer
AdministratorJanuary 1, 2025 at 11:48 am in reply to: Merging list losing smart propertiesMartin,
Talking about importing data you might be interested in those technical notes:
https://www.omnis.net/developers/resources/technotes/tnls0002.jsp
https://www.omnis.net/developers/resources/technotes/tnjs0011.jsp
Best and Happy New Year!
Andreas
omnis.net
Omnis Technical Notes - Importing a CSV file into a list
Omnis Technical Notes - Importing a CSV file into a list
-
Andreas Pfeiffer
AdministratorDecember 17, 2024 at 8:49 am in reply to: Dialogform container messagingMartin,
You are very welcome!
Thanks for your feedback.
Have a great day.
Best,
Andreas