Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Building Reports and Print Layouts    Task type pop-up for User Input
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Journeyman
Posted
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
 
Posts: 84 | Location: Calgary, Canada | Registered: December 15, 2006Reply With QuoteEdit or Delete MessageReport This Post
AJ
Marketcircle Team
Picture of AJ
Posted Hide Post
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.
 
Posts: 893 | Location: Toronto | Registered: May 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Journeyman
Posted Hide Post
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.
 
Posts: 84 | Location: Calgary, Canada | Registered: December 15, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Building Reports and Print Layouts    Task type pop-up for User Input

© Copyright 2006 Marketcircle Inc. All rights reserved.