How to call css_location on RAPIDMINER SERVER SERVICE

nelopez35
nelopez35 New Altair Community Member
edited November 2024 in Community Q&A

Hi! When I set css_location on my rapidminer service, (my css "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"). The generated URL is /internal/rest/resourses/https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css, how to remove "/internal/rest/resourses/" or where are this path?

Tagged:

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    I don't think you can reference exterior CSS files like from bootstrrap. You'd have to upload them to the Server.

  • nelopez35
    nelopez35 New Altair Community Member

    Where i upload css file? beside, the upload file is on this path "/internal/rest/resourses/"?

     

    Thanks

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    That's pretty easy. In the Browse Repository section of the Server web interface, there is an upload file option. See below

    Upload New File.png

     

     

     

     

  • nelopez35
    nelopez35 New Altair Community Member

    I upload css file but the path is wrong. Check this:

    ayuda1.pngayuda2.png

  • Edin_Klapic
    Edin_Klapic New Altair Community Member

    You have a typo in your path to the css you posted:

    it is not resourses but resources

     

    Best,

    Edin

  • Edin_Klapic
    Edin_Klapic New Altair Community Member

    An example to make it easier to follow:

     

    • Store the css in a location of your choice and set the access rights for each user who needs to have access to the files
      • In my example the path is /static/css/ and I granted all users access rights to the folder /static and therefore all subfolders

     

     

    image.png

     

     

    reference the css in your Web Appimage.png

     

    Hope this helps,

    Edin