How to add snippets like add friend in custom pages
Hello shanmathi !
You need to add the link with the Javascript argument like
bx_conn_action(this, 'sys_profiles_friends', 'add', '{profile_id}')
So on your custom page, you need to get the proper profile id.
S
Thank you LeonidS.