Siddharth Kumar 17.Apr.12 10:48 AM a Web browser General3.0.1All platforms
I have been adding custom action links to the VCard. I added an option to follow a persons profile in the action links in vcard. Its pointing to a javascript function which comes out of box to follow/stop following a persons profile. The problem here, is the customized vcard does not display the follow option in applications other than the profile application. I also found out that the javascript function that comes out of box which i have used to follow does not exist in applications other that profile.
The second problem being, the follow option appears in portal and quickr as an action link but the java script function does not exist there and clicking on it throws an error.
I found that the function exists in a JS called profile.js inside the profiles applications and loads only inside the profiles application and not any where else such as communities, blogs,etc. and other environments like portal and quickr.
Is there an out of box way to get the follow option appear on the vcard across different environments?
Or is there a way to bind resources along with a vcard so that all those place the vcard appear, its corresponding resources are all loaded.