tag:blogger.com,1999:blog-159518135309222917.post1988429865522798538..comments2024-03-08T01:53:07.559-08:00Comments on How to Siebel?: How to make field conditionally editable in Siebel?Unknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-159518135309222917.post-79062305654674039942016-01-13T07:37:21.984-08:002016-01-13T07:37:21.984-08:00Even when the view is readonly for a particular re...Even when the view is readonly for a particular responsibity, the buttons are editable. How can I do it using configuration? I am able to achieve it through script.<br /><br />function WebApplet_PreCanInvokeMethod (MethodName, &CanInvoke)<br />{<br /> if(MethodName == "NewRecord")<br /> {<br /> var t = TheApplication().InvokeMethod("IsViewReadOnly", TheApplication().ActiveViewName());<br /> if(t == "FALSE") //meaning the view is NOT read only<br /> { <br /> CanInvoke = "TRUE";<br /> }<br /> else<br />{<br />CanInvoke = "FALSE";<br />}<br />} return (ContinueOperation);<br />}<br />Anonymousnoreply@blogger.com