Good afternoon,
I am trying to get the following to work:
if ({lic_Type} == ‘h’)
{
$licDetailIcon = “<IMG SRC=’…/_lib/img/scriptcase__NM__ico__NM__sc_menu_others_e.png’>”;
{licDetail}= “<button class=‘scButton_default’>”.$licDetailIcon." Detail</button>";
}
elseif ({lic_Type} == ‘u’)
{
$licDetailIcon = “<IMG SRC=’…/_lib/img/scriptcase__NM__ico__NM__sc_menu_home_e.png’>”;
{licDetail}= “<button class=‘scButton_default’>”.$licDetailIcon." Detail</button>";
sc_link(linkDetail,BETAcust_license_assignment.php, swID={idsoftware};“modal”);
}
else
{
$licDetailIcon = “<IMG SRC=’…/_lib/img/scriptcase__NM__ico__NM__sc_menu_dash_e.png’>”;
{licDetail}= “<button class=‘scButton_default’>”.$licDetailIcon." Detail</button>";
}
now the proper icon is displayed based on the record but I cannot seem to figure out the SC link portion. I have tried different variations of sending variables but right now the image/link in the field simply does nothing when clicked.
linkDetail is the field in the grid form.
idsoftware is the id on this same grid
swid in the field in the target app
I am sure once again I am missing something simple but any direction would be greatly appreciated.