How do I access shared resources images URL from css background property url
How do I access shared resources images URL from css background property url
I uploaded images in shared ressources/images folder of the application. I know how to add it manually via form but that I do not want as I need setup backgrounds and complex design via css only.
mydiv{
background-image: url- this needs to be from shared resources images folder
}
-
The images uploaded are not part of file based storage unit. When a form is designed to use this image, behind the page form initiates an API call for AgilePoint with all required details to identity the image resource. receive the API response and then use it as CSS property value. Your way of directly assigning as CSS property would not work with the image present in application folders, since CSS will not be able to resolve the API call to retrieve the image and use it.
Please sign in to leave a comment.
Comments
2 comments