Service Portal - SP Model

robertklimczak
Kilo Contributor

Where i can edit layout of sp-model?

<sp-model form-model="item" mandatory="allMandatory[item.sys_id]"></sp-model>

6 REPLIES 6

For the directive for spVariableLayout is it:

 

function(spModelDirective){

return angular.extend({},spModelDirective[0], {
templateUrl : 'mysp_layout.xml'

});
}

/***** OR *****/

function(spVariableLayoutDirective){

return angular.extend({},spVariableLayoutDirective[0], {
templateUrl : 'mysp_layout.xml'

});
}

Any idea on this? did you got the solution for this?