Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 03/20/2018 in all areas

  1. 2 points
    hi, try this one: function zAlgPopup(aty, htmpl) { var alg_url = window.cfgCgi + "?SID=" + window.cfgSID + "+FID=" + window.fid_generator() + "+FACTORY=cr" + "+PERSID=" + window.argPersistentID + "+OP=UPDATE+ACTIVITY_LOG_TYPE=" + aty; if (typeof(htmpl) == "string") { alg_url += "+HTMPL=" + htmpl; } popupActivityWithURL(alg_url); } <PDM_MACRO name=button Caption="Log Comment" Func="zAlgPopup('LOG', 'detail_alg_edit.htmpl')" hotkey_name="LOG[G]" ID="LOG"> button should located between dtlForm and dtlStart.
  2. 1 point
    Hi! Copying attachments is possible using spel, here is example: https://communities.ca.com/message/241829709 i'm not sure about props (there could be some flag in options to keep them), and as props are defined using web form you can also try to define followed inputs: <input type="hidden" name="SET.prop0.value" value="$args.prop0.value"> <input type="hidden" name="SET.prop1.value" value="$args.prop1.value"> <!-- and so on --> Regards, cdtj
  3. 1 point
    you need to know: - spel basics; - vanilla javascript, jquery basics. I have list of tasks like Approval, Implementation, User testing, etc. Then I have registered trigger for that tasks, once task switch status from WAIT to PEND, trigger fires some activity to change chg's status. Whole logic contains ~2000 lines of spel and js code.
  4. 1 point
    CODE<PDM_MACRO name=lsCol attr=workload display_attr=length justify="right" hdr="#Inc/Prb/Req"> <PDM_MACRO name=lsCol attr=workload_chg display_attr=length justify="right" hdr="#Changes">
  5. 1 point
    I never tried it, but that's up to you - Remove the <PDM_MACRO... for the category field completely. - Instead do a document.write("<INPUT TYPE=HIDDEN NAME=SET.category VALUE=$args.category>"); document.write("<INPUT TYPE=HIDDEN NAME=change_category VALUE=0>");
×