Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Creating HUD Widgets    Command Functions
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Apprentice
Posted
Is there any documentation about how daylite:// can be used? Can it be used to activate menu items and such? Is it limited to daylite://ShowObject...

Thanks.
 
Posts: 8 | Registered: March 12, 2007Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andrew Migliore
Posted Hide Post
quote:
daylite://


Great question. Now we wait for market circle to respond.

This message has been edited. Last edited by: Andrew Migliore,


Andrew Migliore
Lurker Films
http://www.lurkerfilms.com
 
Posts: 129 | Location: Portland, OR | Registered: August 15, 2007Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andrew Migliore
Posted Hide Post
What I've found so far:

daylite://OpenEAddress/ID=nnn
daylite://ShowObject/?Entity=eee&ID=nnn
daylite://DialPhone/?ID=nnn


OpenEAddress appears to open the dialog for the object using defaultElectronicAddress.eAddressID

ShowObject brings up the dialog for the object specified in ID. It appears that the ID number space is reused that is you can have a Contact with an ID of 1000 and an Organization with an ID of 1000. To distinguish the name you specify the Entity name e.g. Contact, Organization, Project etc. in coding a HUD you would use model.entity.name

The DialPhone I assume does just that... using the phoneID of whatever defaultPhone or defaultSecondPhone you use.

cheers


Andrew Migliore
Lurker Films
http://www.lurkerfilms.com
 
Posts: 129 | Location: Portland, OR | Registered: August 15, 2007Reply With QuoteEdit or Delete MessageReport This Post
Apprentice
Posted Hide Post
Hey thanks Andrew. That's great information. I am glad someone out there reads these posts.
 
Posts: 8 | Registered: March 12, 2007Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andrew Migliore
Posted Hide Post
I believe there is more and all of this should be documented somewhere and made available to developers (Market Circle?).

For example there must be a way of openning a "new" dialog for a contact etc. and populate it ala DMI.


Andrew Migliore
Lurker Films
http://www.lurkerfilms.com
 
Posts: 129 | Location: Portland, OR | Registered: August 15, 2007Reply With QuoteEdit or Delete MessageReport This Post
Apprentice
Posted Hide Post
I also found this syntax in the help docs. This may have some potential. I guess it really depends on the implementation.

daylite3:/?Command=OpenPreference&PaneIdentifier=GWFormsFieldsPreferenceClient&TabIdentifier=GWCustomRecordSetDefinitionUtility
 
Posts: 8 | Registered: March 12, 2007Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andrew Migliore
Posted Hide Post
Where exactly did you find the syntax in the help?

It also looks like the syntax is incorrect to me .... missing a slash?

Thanks.


Andrew Migliore
Lurker Films
http://www.lurkerfilms.com
 
Posts: 129 | Location: Portland, OR | Registered: August 15, 2007Reply With QuoteEdit or Delete MessageReport This Post
Apprentice
Posted Hide Post
You know, I noticed that too. In Help, I believe under the topic of Forms, there is a link that will open that specific Daylite preference panel. I just Control clicked and copied the link... This seems to be the only type of command in the Help files that I could find.

I sure wish Marketcircle would document this. It would really make HUD's a lot more powerful.

Thanks,
Isaac
 
Posts: 8 | Registered: March 12, 2007Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andrew Migliore
Posted Hide Post
Yes seems the single / (slash) is intentional. Here are some more.

daylite3:/?Command=OpenPreference&PaneIdentifier=GWAutoDialerPreferenceClient
daylite3:/?Command=OpenPreference&PaneIdentifier=GWClassificationPreferenceClient&TabIdentifier=GWCategoriesList
daylite3:/?Command=OpenPreference&PaneIdentifier=GWDefaultValuesPreferenceClient
daylite3:/?Command=OpenPreference&PaneIdentifier=GWFormsFieldsPreferenceClient&TabIdentifier=GWCustomRecordSetDefinitionUtility
daylite3:/?Command=OpenPreference&PaneIdentifier=GWLaunchPreferenceClient
daylite3:/?Command=OpenPreference&PaneIdentifier=GWOBDatabaseCombinedPreferenceClient
daylite3:/?Command=OpenPreference&PaneIdentifier=GWPipelinesPreferenceClient
daylite3:/?Command=OpenPreference&PaneIdentifier=GWSalesPreferenceClient&TabIdentifier=GWOpportunityStateReasonUtility
daylite3:/?Command=OpenPreference&PaneIdentifier=GWSalesPreferenceClient&TabIdentifier=GWOpportunityTypeUtility

So the hierarchy is Command -> PaneIdentifier -> TabIdentifier. I assume this format works with any dialog.

These names probably match up to the internal names of the classes in the API.


Andrew Migliore
Lurker Films
http://www.lurkerfilms.com
 
Posts: 129 | Location: Portland, OR | Registered: August 15, 2007Reply 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  Creating HUD Widgets    Command Functions

© Copyright 2006 Marketcircle Inc. All rights reserved.