Forums
Extending Daylite
Building Reports and Print Layouts
Task type pop-up for User Input|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Journeyman |
Hi,
How do I get a list of the task types with the icons in a pop-up menu on the Report print sheet? I'd like to let the user select from a list of task types to run the report for. I don't see a TaskType entity in the EOModel file. Is there a special key I can use to get access to them when defining User Input on a report? Thanks, Brendan |
||
|
|
Marketcircle Team |
I believe we have those in the defines somewhere in the headers in the dev kit.
The types are just an int (NSNumber in the engine). You would have to build the entire popup in the little script area in the user input. |
|||
|
|
Journeyman |
I ended up building an NSMutableDictionary. But I don't get the nice little icons.
types := NSMutableArray arrayWithCapacity:7. dict := NSMutableDictionary dictionaryWithObject:0 forKey:'value'. dict setObject:'To-Do' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:1 forKey:'value'. dict setObject:'Inbound Call' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:2 forKey:'value'. dict setObject:'Outbound Call' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:3 forKey:'value'. dict setObject:'Fax' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:4 forKey:'value'. dict setObject:'Email' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:5 forKey:'value'. dict setObject:'Mail' forKey:'name'. types addObject:dict. dict := NSMutableDictionary dictionaryWithObject:6 forKey:'value'. dict setObject:'Print' forKey:'name'. types addObject:dict. types. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Forums
Extending Daylite
Building Reports and Print Layouts
Task type pop-up for User Input
