CA Service Management

 View Only
  • 1.  Problems with new 'z_' attributes in Property Table

    Posted Jun 26, 2018 08:13 AM

    Hi,
    we want to expand the property-Table for cr. I have created a new attribute 'z_string1' via WSP in the prp and prptpl Tables.
    Then I modified the xx_prop_tab.htmpl:

    'PDM_MACRO name=dtlWriteproperty label="prop0.label" make_required="prop0.required" propnum=0 sample="prop0.sample" validation_rule=prop0.validation_rule.id validation_type="prop0.validation_type" value="prop0.value" z_string1="prop0.z_string1">'.

    I have 2 problems:
    how can I move the new values from proptpl into prp table?

     

    And I got an error because this macro don't knows 'z_string1'.

     

    Is it possible to change the macro dtlWriteproperty?
    Is there another way to change the list of property so that the new attribute is editable?

     

    Can anybody help????

    Thanks



  • 2.  Re: Problems with new 'z_' attributes in Property Table

    Posted Jun 26, 2018 11:56 AM

    Hi,

     

    you can modify dtlWriteproperty using web interface (starting from 12.6): 

    http://sdm/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=pdmMacro

    but dtlMacro is only shortcut for JavaScript function, so you need to add your param to detailWriteProperty function too.

     

    Regards,

    Timur



  • 3.  Re: Problems with new 'z_' attributes in Property Table

    Posted Jun 26, 2018 01:31 PM

    Hm, looks like this wouldnt work, because each proprty submits as "propN" where N is a sequence from 0. And processed by webengine's inner methods which can't be modified. So I'm not really sure that you can make SDM know that z_string1 is a part of property.