Expression Builder and Promoted Functions
It seems that when you have a reasonable number of promoted functions the ribbon bar of the expression builder gets a little screwed up. See image. v9.0.3.3
Comments
-
That is quite a few new categories that you have! This is a known issue with ribbon bar's resizing for when there are more items than space allows.
Did you know that you can create sub-menus by naming multiple functions to the same category with the same Alias? For example:
[Promote(PromotionTargets.ExpressionBuilder)]
[Category("Test Category")]
[Alias("Test a")]
[Description("Returns hello")]
public static string Testa()
{
return "hello";
}
[Promote(PromotionTargets.ExpressionBuilder)]
[Category("Test Category")]
[Alias("Test a")]
[Description("Returns hello plus the value entered.")]
public static string Testa(string a)
{
return "hello"+ a;
}
This should help. You can also promote items into existing categories. To promote to existing categories, you must use the catagory name as appropriate:
- Commands
- Document
- NumericFunctions
- Logical
- TextFunctions
- FileSystem
- UsersAndRoles
- DateTimeFunctions
- FolderInformation
- MetastormDatabase
- Directory
0 -
Thanks Rob,
I have five categories from scripted objects with around 30 or so methods between them plus 4 web services, and of course by default these take a category each. I have tried changing the captions on the web services to 'group' them together but by doing so I seem to loose some of the published functions from the resulting drop-down :smileysad:
This is not a great problem for me as I make little use of the expression builder in practice but it may affect others and of course it doesn't look great.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories