I've made other tests (after the one that I sent in my first message) and,
in the end, this version seems to work properly:


<TypeProjection ID="RequestOfferingToRelatedServicesProjection"
Accessibility="Public" Type="System!System.Service">
    <Component
Path="$Target/Path[Relationship='CoreCatalog!System.ServiceRelatesToServiceOffering'
SeedRole='Source']$" Alias="ServicesRelatedToServiceOffering">
         <Component
Path="$Target/Path[Relationship='CoreCatalog!System.ServiceOfferingRelatesToRequestOffering']$"
Alias="RelatedRequestOfferings" />
    </Component>
    <Component
Path="$Context/Path[Relationship='System!System.ConfigItemOwnedByUser']$"
Alias="ServiceOwner" />
</TypeProjection>


because, as an additional requirement, I also had to display the Service
Owner on the SM Portal (to make some useful information available to the
end users) and optionally also add some criteria on Request Offerings.

But...
To get it work, I needed to perform an IISReset on the SM Portal machine.
Without this operation, the Business Services list didn't appear.
I had this supposedly strange issue in another scenario, in which the SM
Portal notified me a missing reference (for system.workitem.incident) in a
custom MP, even though the MP had such reference. Well...Maybe the SM
Portal app pool keeps something in its cache and, for such reason, some
configuration updates are not available until the reset (or recycle) of the
site/app pool?


Thanks for your reply :)





2013/10/30 Travis Wright <[email protected]>

>  The type projection looks correct if what you want is a list of services
> that are related to a particular service offering(s).  Want to send over
> some screenshots from your request offering configuration?  Maybe that’s
> where the problem is.
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *SkyWalker
> *Sent:* Wednesday, October 30, 2013 6:02 AM
> *To:* [email protected]
> *Subject:* [servman] Query Result: getting Business Services from Service
> Offering
>
>
>
> Hi to all :)
>
>
>
> I'm trying to configure a query result prompt to show all business
> services that have been linked to a service offering, so that the user can
> decide to which B.S. its issue can be bound. If I properly browsed all the
> available combination classes, I didn't find any suitable for me, so I've
> tried to build my own TypeProjection.
>
>
>
> Here's the code:
>
>
>
> <TypeProjection ID="ServiceOfferingToRelatedServicesProjection"
> Accessibility="Public" Type="System!System.Service">
>           <Component
> Path="$Target/Path[Relationship='CoreCatalog!System.ServiceRelatesToServiceOffering'
> ]$" Alias="BusinessServiceRelatedServiceOfferings" />
> </TypeProjection>
>
>
>
> Even though the MP is imorted without any error (and even though Business
> Services have been bound to Service Offerings), when I use the Request
> Offering form then the above projection doesn't show any data.
>
>
>
> I fear that something is wrong in TypeProjection definition...Maybe some
> wrong setting related to source and/or target classes.
>
>
>
>
>
> Can anybody give me a suggestion? Thanks!!! :) :)
>

Reply via email to