function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dawnzdydawnzdy 

How can I have access to Assign using active assignment rules in Apexcode?

Hi,

    - I want to check "Assign using active assignment rules" when create a case  in Apexcode, but I didn't find a way to access it.
    Is this one editable in the code?

    - By the way, can we call standard Apex functions in Visualforce page? It seems some doesn't work.

Thanks!
   


Message Edited by dawnzdy on 01-02-2009 02:09 PM
aalbertaalbert
I do not believe Apex will execute the standard case assignment rules, unfortunately. The idea is out on the IdeasExchange. Vote for it here: http://ideas.salesforce.com/article/show/10091574

And to your second question, Visualforce pages can execute Apex Code. The apex code is considered the controller (ie contains the logic). And the visualforce pages represent the user interface or view. So the page itself doesn't contain apex code. But the pages can be associated to apex code in the form of controllers.

For more information on Visualforce controllers, please refer to the Visualforce Developer's Guide: http://www.salesforce.com/us/developer/docs/pages/index.htm


dawnzdydawnzdy
Got it, thanks so much for your reply!

Just wondering if I use {! code  } to embrace something, does the code inside can function as apex code?

Like can I define variable, use functions? Or only visualfroce functions like "if()" can be used here?

The visualfroce standard functions are completely different from apex standard functions, right?


Message Edited by dawnzdy on 01-05-2009 06:52 AM