I have several shiny apps. I was planning to just add them to different tabs of one shiny app, but I'd like to instead take advantage of the landing page. None of these apps require a login - as such, I've selected "Anyone - No login required" under "Who can view this document".
E.g., if the address for my website is "www.example.com", should I just add href="https://www.example.com/app1" for the first app, href="https://www.example.com/app2" for the second app, etc., to the html file for my landing page? (I know I will need to do a lot more formatting - just wondering if this is the best path forward).
Thanks so much for reaching out here! This is a fantastic question!
You are exactly right that you can use the custom landing page and add links for your applications. You can use either absolute / fully qualified links (i.e. https://www.example.com/app1) or absolute path-based links (i.e. /app1) in your href targets.
However, we would recommend moving that example directory out of the /opt/rstudio-connect directory, lest your changes be overwritten by a future upgrade to Connect.
Further, we would advise not to sink too much time into this process, as a coming RStudio Connect release should have a better story for creating these types of landing pages!! (we are working on an improvement right now!).
I hope that helps! Please let us know if you have any further questions!
Oh yes, definitely!! The stuff I am talking about has not released yet, so no worries - also, as far as I am aware, we are not supplanting functionality / etc. So I do not think you should have any issues! We are just making it easier to implement these types of things If I hear otherwise, I will definitely let you know (and there will be many other users in your shoes as well).
I'm glad to hear you got your landing page into a place you are happy with!!