Javeed Chida 7 Years Ago This works beautifully using cur. Any idea how I would pass in that serviceContext.userId via a javascript post to ~/ddlrecord/add-record? Please sign in to reply. Reply as... Cancel Javeed Chida Javeed Chida 7 Years Ago I should clarify that this is what I am trying to do:Liferay.Service('http://localhost:9080/api/jsonws/ddlrecord/add-record', { groupId: $groupId, recordSetId: 11331, displayIndex: 0, fieldsMap: {'txtApplicantName':'Frodo Baggins'}, serviceContext: { userId: 10434 } }, function(obj) { console.log(obj); }); Please sign in to reply. Reply as... Cancel Javeed Chida Javeed Chida 7 Years Ago Never mind, I was using an incorrect service URL. All good. Loving this solution. Please sign in to reply. Reply as... Cancel
Javeed Chida Javeed Chida 7 Years Ago I should clarify that this is what I am trying to do:Liferay.Service('http://localhost:9080/api/jsonws/ddlrecord/add-record', { groupId: $groupId, recordSetId: 11331, displayIndex: 0, fieldsMap: {'txtApplicantName':'Frodo Baggins'}, serviceContext: { userId: 10434 } }, function(obj) { console.log(obj); }); Please sign in to reply. Reply as... Cancel Javeed Chida Javeed Chida 7 Years Ago Never mind, I was using an incorrect service URL. All good. Loving this solution. Please sign in to reply. Reply as... Cancel
Javeed Chida Javeed Chida 7 Years Ago Never mind, I was using an incorrect service URL. All good. Loving this solution. Please sign in to reply. Reply as... Cancel
(You) 7 Years Ago [...] Let me begin by clarifying that this post has nothing to do with the Harry Potter universe. But seriously. You know what I mean by wizards, don’t you? Those helpful series of screens that gather... [...] Read More Please sign in to reply. Reply as... Cancel