Can a SharePoint Calculated field check for existence of other columns?

I want to use OrderBy in SPSiteDataQuery to sort items by data, however, the field containing the date differs between the content types.

Can this be solved by sorting with a calculated field? I am currently trying to create a calculated field that checks for existence of a field (using ISERROR), if it is found it returns the value, otherwise returns a default value. Or perhaps I can create a Calculated field in parent content type, then override it's formula and field references in a child content type - would such polymorphism work?

Answers


As I found out - NO, it can't.


Need Your Help

NFS home / .profile / 3 flavors of UNIX : best practices?

unix shell nfs home-directory .profile

Three flavors of UNIX: Linux, Solaris, IRIX... one NFS mounted home directory.

Posting a web form to a different page in asp.net 3.5

.net-3.5 form-submit

I am told that form.action attribute is being honored right now; so we can post a form to a different page. i have tried that, but i get an error to do with ViewState (I realise why).