New Posts New Posts RSS Feed: Exclude Attribute
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Exclude Attribute

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Exclude Attribute
    Posted: 18-Jul-2012 at 11:28am
Is there an attribute that can be set on a field so that it does not ever get downloaded to the client?

I have a field which is fairly large and used only for searching, so it doesn't need to get sent down to the client. I do need to be able to populate it on the server however.

Greg
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 18-Jul-2012 at 12:08pm
Hi Greg,


We also have a couple of suggestions that we recommend before going the attribute route.

1. You can create a subset of the entity, excluding the fields that you don't want to send to the client.

2. Or you can create a secondary entity with the excluded fields and create a 1 to 1 relation with the main entity. This is such that when you query for the main entity, you have an option to exclude that secondary entity.

Hope this helps.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down