How to reconstruct visualization through a .lp file - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: How to reconstruct visualization through a .lp file (/showthread.php?tid=5062) |
How to reconstruct visualization through a .lp file - pouralise - 28.10.2023 I have a task to ask I have an already builded Visualization, but I dont want to show it in visualization page but to reconstruct it in a .lp file. The main purpose is I dont want to show this visualization to any one even if they have admin permission, but I still want to access that visualization when I need through a .lp file with a secret authentication. Example It will show the visualization when I connect to http://192.168.0.10/public/vis.lp?authentication=abc I think there will be some steps to do like this: Step 1: Build a visualization (already done) Step 2: Store parameter of the visualization to a file such as data.txt (not sure what I need to store, maybe by db:update or F12 from webbrowser) Step 3: Delete the visualization (but still keep the resource like image, font...) Step 4: Creat a vis.lp file that will reconstruct the visualization from the data.txt file. It will have code like that Code: <? Can you help me to find a way to do this, maybe a simple example is great. Thank you very much RE: How to reconstruct visualization through a .lp file - pouralise - 30.10.2023 Does any body know how todo this? RE: How to reconstruct visualization through a .lp file - admin - 30.10.2023 Open visualization, open "view source" in your browser (CTRL+U), copy/paste the code into your .lp page. RE: How to reconstruct visualization through a .lp file - pouralise - 30.10.2023 (30.10.2023, 07:49)admin Wrote: Open visualization, open "view source" in your browser (CTRL+U), copy/paste the code into your .lp page.let me try. thank you |