Skip to content

Updating URL Path and App Title for Existing App on Posit Connect #1356

Description

@kolabearafk

Hi,

I am currently using the below code to deploy an existing shiny app to posit connect. Is there a parameter using rsconnect package directly to change the url path of the published app without going onto the posit connect dashboard and updating the app's info section in UI? Currently with rsconnect, supplying the appName doesn't really change the content url path of the app for some reason. Can appName be used as content url path?

Also for an existing app, how can the current title of the app be overridden with the supplied appTitle in the rsconnect::deployApp code?

Please see an example of my code below. Thanks so much for your help!

Registering Posit Connect server

rsconnect::addServer(
url = "https://connect-server.com",
name = "connect_server"
)

Authenticating using API key

rsconnect::connectApiUser(
server = "connect_server",
apiKey = "API_KEY"
)

Deploying the application

rsconnect::deployApp(
appDir = ".",
server = "connect_server",
appName = "Products_Dashboard", // app name that should be used as the content url path
appTitle = "Products" // new app title that needs to override existing one
)

Thank you,
Kola

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions