AnsweredAssumed Answered

'Edit in List' Fails In wf_list.htmpl page with Hyperlinked Columns

Question asked by ArunavaS on Aug 5, 2016
Latest reply on Mar 8, 2019 by Gouranga

I have created a customization under list_wf.htmpl field to display assignee and group column as hyperlink. Once I click on this fields it takes me in the corresponding records. However after applying this customization, I see "Edit in List" feature is failing to work for single or multiple record with the following error: AHD04605:Can't update - someone else has changed assignee from "" to ""Edit In List Error.PNG

Here is the piece of code I wrote for the hyperlink functionality which is breaking the Edit in List feature. May I have any suggestion please. Any other way to achieve this Hyperlinking feature without disturbing the Edit in List?[ It is not creating any error entry in the log file]


/////*************************** Code by ArunavaS ***************************//

            var group_pid;

            var assignee_pid;

            <pdm_macro name=lsWrite text="pdm_if \"@{}\" != ''">

            <PDM_MACRO name=lsWrite text="group_pid = \"@{}\";">

            <pdm_macro name=lsWrite text="/pdm_if">


            <pdm_macro name=lsWrite text="pdm_if \"@{list.assignee:0}\" != ''">

            <PDM_MACRO name=lsWrite text="assignee_pid = \"@{list.assignee.persistent_id:}\";">

            <pdm_macro name=lsWrite text="/pdm_if">

function show_group(value) {

    var group_txt = "<A HREF=\"javascript:showDetailWithPersid('" + group_pid + "')\">" + value + " </A>";;               }

function show_assignee(value) {

    var assignee_txt = "<A HREF=\"javascript:showDetailWithPersid('" + assignee_pid + "')\">" + value + " </A>";;               }


/////*************************** Code by ArunavaS ***************************//

<PDM_MACRO name=lsCol hdr="Assignee" attr=assignee fmtfunc="show_assignee">

<PDM_MACRO name=lsCol hdr="Group" attr=group fmtfunc="show_group">