Promoted functions fail if the Project name is a prefix of the Library name
Say we have a Project called MyProject. We then want some lookups, but do not want to keep them in the Project in case we need to change them later. We create a Library called MyProjectLookups. In it we have a class called Lookups with the required functions.
That seems very sensible to me.
When you use any promoted function in that library, the Expression Builder adds something like:
Quote:
Lookups.ListWidgets()
If you rename my Project to MyProject2, and try again, it works, and you get
Quote:
Metastorm.Runtime.Models.MyProjectLookups.Lookups.ListWidgets()
which is correct.
If youI have it the first way, every time you use the Expression Builder it gives me a seemingly valid function call that fails on deployment. That causes you to have to add the required prefix in every use. Not fatal, but very, very irritating indeed, especially as some fields seem to 'keep' some reference and still cause errors until you delete the field.
Example here:
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 156 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