How Do I Override Magic xpa Functions? (Magic xpa 4.x)
![](/PublicKnowledge/servlet/rtaImage?eid=ka23z0000004PM0&feoid=00ND0000005rAjf&refid=0EM3z000001re1C)
Magic xpa has a large number of good, useful functions. However, you can override any of these functions easily, to create your own customized versions.
To do this, follow the instructions in the How Do I Create a Function that is Available for the Entire Project? topic. However, make the function name be identical to the function in Magic xpa.
For instance, in this example we overrode the Date() function, so it will return the 01/01/1980 date.
The Online and Rich Client Samples projects (program UT01 and RUT01)