Recover deleted view
Resolved
Hi,
I am really new to using yellowfin and i have created a view that was a draft view and somehow this has been deleted (i think i deleted it but can't remember how). Is there a way to recover this report or the view?
Thanks
Hi Page,
I am going to see if I can answer both of your tickets here in regards to the View issue and Yellowfin Configuration question. In order to recover a view you would need to connect to the Yellowfin Configuration Database. Depending on what Database you configured initially will ultimately decide on the right SQL tool to use as you will have to connect to the DB using something like DBeaver or DBVisualiser etc.
When you installed Yellowfin you selected a DB, this information goes into the web.xml file which is located in /yellowfin_install/appserver/webapps/ROOT/WEB-INF/web.xml. In this file are a few lines which look like the following and shows you which database is your yellowfin config DB.
Using a tool such as PgAdmin or DBeaver etc, you then need to connect to this database to make a manual backend change. (Please note that backend / direct changes are not supported, so please backup your DB first in-case something goes wrong and you need to recover)
The table you are interested in is ReportView
To find the deleted view run
To restore the deleted view run You then need to restart Yellowfin and the view will be back.
Please let me know if that all makes sense.
Regards,
Paul
Hi Page,
I am going to see if I can answer both of your tickets here in regards to the View issue and Yellowfin Configuration question. In order to recover a view you would need to connect to the Yellowfin Configuration Database. Depending on what Database you configured initially will ultimately decide on the right SQL tool to use as you will have to connect to the DB using something like DBeaver or DBVisualiser etc.
When you installed Yellowfin you selected a DB, this information goes into the web.xml file which is located in /yellowfin_install/appserver/webapps/ROOT/WEB-INF/web.xml. In this file are a few lines which look like the following and shows you which database is your yellowfin config DB.
Using a tool such as PgAdmin or DBeaver etc, you then need to connect to this database to make a manual backend change. (Please note that backend / direct changes are not supported, so please backup your DB first in-case something goes wrong and you need to recover)
The table you are interested in is ReportView
To find the deleted view run
To restore the deleted view run You then need to restart Yellowfin and the view will be back.
Please let me know if that all makes sense.
Regards,
Paul
Hi Rebecca,
Hope you're having a good week.
Just wanted to check-in and see how it's all going. Was there anything you were needing from me to help get this resolved?
Regards,
Paul
Hi Rebecca,
Hope you're having a good week.
Just wanted to check-in and see how it's all going. Was there anything you were needing from me to help get this resolved?
Regards,
Paul
Hi Rebecca,
I hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
Paul
Hi Rebecca,
I hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
Paul
Replies have been locked on this page!