在BUTTON的属性里有下面一段话: PermissionsEntity and PermissionsType: If you want the button to be added based on a users security profile for an entity, use the PermissionsEntity and PermissionsType parameters. PermissionsEntity is the name of the entity. PermissionsType is either VIEW, EDIT, DELETE or INSERT, depending on the action of the button. 在发一封邮件的时候用下面语句就行了: var strScript3 = "javascript: x = window.open('"+eWare.URL(1500) + "&comm_to="+record.itemasstring("ccus_applicantemail") + ExtraKeys + "&Key-1="+iKey_CustomEntity+"&revCustomURL="+List.prevURL+"&E=AOpportunity"+"&Frame=popup"+"','AOpportunity','scrollbars=yes,resizable=yes,width=920,height=600'); void (x);"; Container.AddButton(eWare.Button("Send Email","NewEmail.gif",strScript3, 'communication', 'insert')); 但现在我要群发邮件,就是一次发送多封邮件给不同的客户。如果再用上面的语句就显示不行了 因为上面的语句一次只能插入一条的记录。而群发邮件要求的是一次插入多条的记录。 有没有好的解决办法??? |