Unable to show User's Phone Number in User contact SectionUnable to show User's Phone Number in User contact Sectionhttps://liferay.dev/c/message_boards/find_thread?p_l_id=119785333&threadId=1203773132024-03-29T13:31:32Z2024-03-29T13:31:32ZRE: Unable to show User's Phone Number in User contact SectionDaniya Niazihttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215495742022-10-31T19:35:34Z2022-10-31T11:12:51Z<p>@mohammad Umair can you please tell what are parameters after phone
number what is typeId and extension</p>Daniya Niazi2022-10-31T11:12:51ZRE: Unable to show User's Phone Number in User contact SectionMohammed Yasinhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1203827412020-10-29T05:01:51Z2020-10-29T05:01:51Z<p>Hi ,</p>
<p>classsPK need to be contact Id , as in your case your passing userId
, Pls try with sending contactId for classPK .</p>
<p> </p>Mohammed Yasin2020-10-29T05:01:51ZUnable to show User's Phone Number in User contact SectionMuhammad Umairhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1203773122020-10-28T17:24:30Z2020-10-28T16:13:36Z<p>I have a problem while adding phone number, I successfully added
phone to Phone table but unable to view on front Contact section of User</p>
<p>long userId=user.getUserId();<br /> long classPk=(user != null
? user.getUserId() : 0);<br /> String
className="com.liferay.portal.kernel.model.Contact";<br />
phone=ParamUtil.getString(actionRequest,
"Phone");<br />
PhoneLocalServiceUtil.addPhone(userId, className, classPk, phone,
"302",11011, false, serviceContext);&