Filter Expression Property List Problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Filter Expression Property List Problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Filter Expression Property List Problem  
GAT


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:03 PM

Hi,

I have a solution containing 3 projects:

Project 1: Contains a Property Schema 'PS'
Project 2: Contains a Document Schema 'DS' with elements Promoted using
'PS'. It references Project 1.
Project 3: Contains an orchestration beginning with an activate receive. It
references Projects 1 and 2.

Within the Receive shape in Project 3, the properties of PS are not shown,
so I can't build a Filter expression. However, if I move 'PS' from Project 1
to Project 2, and then re-promote 'DS', I can then see the Promoted
properties within the Filter Expression list. Once I have built my Filter
expression, I then move 'PS' back to Project 1, re-promote 'DS' and deploy
the projects.

Does anyone know why I can't see the promoted properties in the Filter
Expression list when 'DS' is not in the same project as 'PS'? This is really
confusing me.

Many thanks!

Glynn





[ Post a follow-up to this message ]



    RE: Filter Expression Property List Problem  
GAT


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 10:52 PM

Nobody on this newsgroup was able to help me with this problem, so I opened 
a
case with Microsoft. They confirmed it to be a bug, the details are attached
below. However, my workaround was slightly different. I moved the property
schema temporarily into the same project as the document schemas, created th
e
filter expression and then moved them back again.

You will also notice that the expression editor does not show intellisense
for the promoted properties, and the same workaround fixes this problem too.

Hope this info is useful to anyone else who experiences this problem.
Microsoft confirmed there is no hot fix for the problem, just workarounds.
Their synopsis is shown below:

Symptoms
=============================
When trying to access a promoted property in an expression or in a Receive
Shape Filter, the property may not be shown.

Cause
=============================
This can occur if the property schema is in a referenced project rather than
in the project containing the schema used.

Repro Steps
=============================
Create 2 BizTalk projects.
In Project 1, create a property schema with a field.
In Project 2, add a reference to Project 1
In Project 2, create a schema with an element and promote that element using
the property schema from Project 1
In Project 2, Add an orchestration and a receive shape. Mark the receive
shape as an Activate receive and then attempt to add a filter.
Look in the list for the promoted property. It's missing.

More Information / Workaround
=============================
If the schema and property schema both come from the same assembly, all
should be well. The issue here is that the property schema exists in a
separate assembly from the schema which uses it. When designing BizTalk
solutions, Orchestrations should be kept in a separate assembly from schemas
anyway, therefore, putting the schemas and their associated property schemas
together and then referencing that assembly from the orchestration project
will allow the property to be displayed in intellisense.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:35 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register