开发者

how to get print command in salesforce

normally in c or c ++ we are using p开发者_开发技巧rintf command for displaying values,but in salesforce which command we can use for displaying the data from the apex class.kindly let me know as soon as possible.


System.debug('some string'). See the apex language reference doc for more info.


Use System.debug('print content'); or you can also use in the controller: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR, 'print content')); and in the actual page use: apex:messages /

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜