Thomas Wolfram 2 Years Ago Hi, will this also work with Vue.js apps? Please sign in to reply. Reply as... Cancel Crystal Santos Thomas Wolfram 2 Years Ago Hi Thomas! This should work, but I haven't tested yet. Please sign in to reply. Reply as... Cancel
Crystal Santos Thomas Wolfram 2 Years Ago Hi Thomas! This should work, but I haven't tested yet. Please sign in to reply. Reply as... Cancel
Brian Heise 2 Years Ago Thanks for the excellent article! How can I access the host Liferay instance's theme information so I can make the remote app respond dynamically to theme changes? Please sign in to reply. Reply as... Cancel Crystal Santos Brian Heise 2 Years Ago Hi! What do you mean by theme changes? You can access themeDisplay object in your remote app to get some Liferay configurations, as an example below: Liferay.ThemeDisplay.getPathThemeImages() Thanks! Please sign in to reply. Reply as... Cancel Crystal Santos Crystal Santos 2 Years Ago - Edited You need to use like this, for example: // eslint-disable-next-line no-undef "siteId": `${Liferay.ThemeDisplay.getScopeGroupId()}` to make sure that Liferay object will only be accesed in Liferay :) Please sign in to reply. Reply as... Cancel Brian Heise Crystal Santos 2 Years Ago Thanks for your help! Please sign in to reply. Reply as... Cancel
Crystal Santos Brian Heise 2 Years Ago Hi! What do you mean by theme changes? You can access themeDisplay object in your remote app to get some Liferay configurations, as an example below: Liferay.ThemeDisplay.getPathThemeImages() Thanks! Please sign in to reply. Reply as... Cancel Crystal Santos Crystal Santos 2 Years Ago - Edited You need to use like this, for example: // eslint-disable-next-line no-undef "siteId": `${Liferay.ThemeDisplay.getScopeGroupId()}` to make sure that Liferay object will only be accesed in Liferay :) Please sign in to reply. Reply as... Cancel Brian Heise Crystal Santos 2 Years Ago Thanks for your help! Please sign in to reply. Reply as... Cancel
Crystal Santos Crystal Santos 2 Years Ago - Edited You need to use like this, for example: // eslint-disable-next-line no-undef "siteId": `${Liferay.ThemeDisplay.getScopeGroupId()}` to make sure that Liferay object will only be accesed in Liferay :) Please sign in to reply. Reply as... Cancel Brian Heise Crystal Santos 2 Years Ago Thanks for your help! Please sign in to reply. Reply as... Cancel
Brian Heise Crystal Santos 2 Years Ago Thanks for your help! Please sign in to reply. Reply as... Cancel
j w 1 Year Ago - Edited I'm attempting to leverage some features from a liferay 7.4 dxp into some older apps via remote apps, however I cant seem to find the remote app client SDK script, I am expecting to find it at {host}/o/remote-app-client-js/remote-app-client-js.js but this gives me a 404 when I attempt to import. does this need to be manually generated? is it somewhere else in 7.4? thanks Please sign in to reply. Reply as... Cancel j w j w 12 Months Ago - Edited found it, in 7.4 it seems to be /o/client-extension-client-js/client-extension-client-js.js Please sign in to reply. Reply as... Cancel j w j w 12 Months Ago - Edited perhaps I spoke too soon and these are in fact slightly different, I've noticed this script is pretty temperamental, specifically very prone to attempting to register while already registered and subsequently invalidating the client object. I see that client extensions are still considered a beta feature and perhaps that's what's going on. Maybe this is just normal or I am using it incorrectly. I thought I came across at some point mention of someone needing to have deployed the remote-app-sdk manually but I am having trouble finding it again. At any still open to any insight on the matter. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 12 Months Ago hey j w, The remote app client extension feature have been changing a lot since this article was written. I recommend to you the following doc: https://learn.liferay.com/w/dxp/building-applications/client-extensions Please sign in to reply. Reply as... Cancel j w Andre Fabbro 12 Months Ago - Edited Thanks! yes, that article has been my primary source of info on client extensions and the basis for the one I am currently working with. Perhaps ill fire up a 7.3 instance and compare to the remote apps there. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
j w j w 12 Months Ago - Edited found it, in 7.4 it seems to be /o/client-extension-client-js/client-extension-client-js.js Please sign in to reply. Reply as... Cancel j w j w 12 Months Ago - Edited perhaps I spoke too soon and these are in fact slightly different, I've noticed this script is pretty temperamental, specifically very prone to attempting to register while already registered and subsequently invalidating the client object. I see that client extensions are still considered a beta feature and perhaps that's what's going on. Maybe this is just normal or I am using it incorrectly. I thought I came across at some point mention of someone needing to have deployed the remote-app-sdk manually but I am having trouble finding it again. At any still open to any insight on the matter. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 12 Months Ago hey j w, The remote app client extension feature have been changing a lot since this article was written. I recommend to you the following doc: https://learn.liferay.com/w/dxp/building-applications/client-extensions Please sign in to reply. Reply as... Cancel j w Andre Fabbro 12 Months Ago - Edited Thanks! yes, that article has been my primary source of info on client extensions and the basis for the one I am currently working with. Perhaps ill fire up a 7.3 instance and compare to the remote apps there. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
j w j w 12 Months Ago - Edited perhaps I spoke too soon and these are in fact slightly different, I've noticed this script is pretty temperamental, specifically very prone to attempting to register while already registered and subsequently invalidating the client object. I see that client extensions are still considered a beta feature and perhaps that's what's going on. Maybe this is just normal or I am using it incorrectly. I thought I came across at some point mention of someone needing to have deployed the remote-app-sdk manually but I am having trouble finding it again. At any still open to any insight on the matter. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 12 Months Ago hey j w, The remote app client extension feature have been changing a lot since this article was written. I recommend to you the following doc: https://learn.liferay.com/w/dxp/building-applications/client-extensions Please sign in to reply. Reply as... Cancel j w Andre Fabbro 12 Months Ago - Edited Thanks! yes, that article has been my primary source of info on client extensions and the basis for the one I am currently working with. Perhaps ill fire up a 7.3 instance and compare to the remote apps there. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
Andre Fabbro j w 12 Months Ago hey j w, The remote app client extension feature have been changing a lot since this article was written. I recommend to you the following doc: https://learn.liferay.com/w/dxp/building-applications/client-extensions Please sign in to reply. Reply as... Cancel j w Andre Fabbro 12 Months Ago - Edited Thanks! yes, that article has been my primary source of info on client extensions and the basis for the one I am currently working with. Perhaps ill fire up a 7.3 instance and compare to the remote apps there. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
j w Andre Fabbro 12 Months Ago - Edited Thanks! yes, that article has been my primary source of info on client extensions and the basis for the one I am currently working with. Perhaps ill fire up a 7.3 instance and compare to the remote apps there. Please sign in to reply. Reply as... Cancel Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
Andre Fabbro j w 11 Months Ago we don't have client extensions in 7.3, only for 7.4 Please sign in to reply. Reply as... Cancel j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel
j w Andre Fabbro 11 Months Ago - Edited yes, i meant to compare the remote app of 7.3 to the current iframe client extension. Please sign in to reply. Reply as... Cancel