|
Home > Archive > BizTalk Server General > November 2004 > How can I get source file name by using sharepoint adapter WSSLIB?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How can I get source file name by using sharepoint adapter WSSLIB?
|
|
| David Wei 2004-11-19, 5:48 pm |
| I am working on a human work flow that saves infopath forms on sharepoint
site. biztalk will pick up the form from sharepoint and go through
orchestration doing something and save back to sharepoint.
I am using sharepoint adapter for biztalk (WSSLIB). I got it from
http://www.gotdotnet.com/ and the sample is working fine.
I used HAT to track the source message.Unfortunately, there is just the
BTS.InboundTransportLocation in there, I couldn't find the original filename
in the message.
The sample changes the file name when biztalk save back but I have to keep
the
filename in my case. I struggled this for two days. Can somebody help me to
figure it out? Great thanks!
david
--
Working on a project with biztalk and sharepoint.
| |
| Nathan Jeffery [MSFT] 2004-11-30, 5:49 pm |
| The sharepoint adapter does not have an XSD schema to define the properties supported by the adapter, although the
adapter runtime supports the filename property.
Please take a look at the MSMQC adapter that you can get from the internet in order to learn how do this.
You need to:
- install SDK refresh from here http://go.microsoft.com/fwlink/?LinkId=24723.
- browse to C:\Program Files\Microsoft BizTalk Server 2004\SDK\Samples\Adapters\MSMQCAdapter\R
un-Time
\MSMQCAdapterProps and have a look at the schema project. You need to build a similar project for the WSS Adapter.
- the WSSDocLib adapter on GotDotNet supports only one property, the "FileName" in the
http://schemas.microsoft.com/BizTal...oint-properties - You need to update the property schema to use this
namespace and you need to define the FileName property in this property schema. After that, you need to deploy this schema
and reference it in your orchestration. That will allow you to access the file name property from the orchestration
- For outgoing messages this property is not used so your orchestration should do the following:
a) Get the filename like above and then save it in the message.
b)The send port should use an XPATH to access the field where the filename is and set the filename from that field
Also:
The FileName property must be marked as MessageContextPropertyBase. To do this, select each property and change the
"Property Schema Base" property from default value (no value) to MessageContextPropertyBase
--------------------
>Thread-Topic: How can I get source file name by using sharepoint adapter WSSLIB?
>thread-index: AcTObgl556M9EfrzT2Ovs2f4+O0dVQ==
>X-WBNR-Posting-Host: 208.181.106.25
>From: =?Utf-8?B?RGF2aWQgV2Vp?= <DavidWei@discussions.microsoft.com>
>Subject: How can I get source file name by using sharepoint adapter WSSLIB?
>Date: Fri, 19 Nov 2004 11:29:07 -0800
>Lines: 17
>Message-ID: <697A2F4C-E415-476B-969D-0FF94F3721B1@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:21834
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>I am working on a human work flow that saves infopath forms on sharepoint
>site. biztalk will pick up the form from sharepoint and go through
>orchestration doing something and save back to sharepoint.
>I am using sharepoint adapter for biztalk (WSSLIB). I got it from
>http://www.gotdotnet.com/ and the sample is working fine.
>I used HAT to track the source message.Unfortunately, there is just the
>BTS.InboundTransportLocation in there, I couldn't find the original filename
>in the message.
>The sample changes the file name when biztalk save back but I have to keep
>the
>filename in my case. I struggled this for two days. Can somebody help me to
>figure it out? Great thanks!
>
>david
>
>--
>Working on a project with biztalk and sharepoint.
>
Sorry I don't take feature request for WinRes: it belongs to the .NET Framework SDK. I'm a consumer of WinRes, just like you...
--------------------
>From: Thomas Adams <thomas.o.adams@gmail.com>
>Newsgroups: microsoft.public.dotnet.internationalization
>Subject: RE: How to launch WinRes in full screen mode by another program?
>Date: 29 Sep 2004 19:31:46 GMT
>Organization: DFN.CIS Senior Customer
>Lines: 17
>Message-ID: < Xns9573DB02E2782thomasoadamsgmailcom@127
.0.0.1>
>References: <2qh8rpFvi6jiU1@uni-berlin.de> <r3R$vnkpEHA.3636@cpmsftngxa06.phx.gbl>
>X-Trace: news.uni-berlin.de cGk7xWd2iWxkO9HVbF7isQODBzMeOPRUidb0ZHc/H3nGY=
>User-Agent: Xnews/06.08.25
>X-Converter: MorVer Version 1.0.305
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!
newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.internationalization:947
>X-Tomcat-NG: microsoft.public.dotnet.internationalization
>
>Hi
>
>Your assumption is correct. I did not want to call out its long name
>since I didn't know if that could be regarded as breach of NDA. 
>
>Thanks for the explanation. Do you take feature requests for WinRes?
>I'd like to see a "remember last size and location" some day...
>
>~T.
>
>xuy@online.microsoft.com (Xu Yang[MSFT]) wrote:
>
>
>--
>
> [Formerly appended fullquote was nuked by morver,
> the versatile morphing server.]
>
I'm afraid that LocStudio (when you say LS, I assume you are using LocStudio) does not have the option, and WinRes does
not remember its size and location when it was shut down.
If you are trying to call it in your own application, you can always use ProcessWindowStyle.Maximized when you start the
process.
--------------------
>From: Thomas Adams <me4@privacy.net>
>Newsgroups: microsoft.public.dotnet.internationalization
>Subject: How to launch WinRes in full screen mode by another program?
>Date: 11 Sep 2004 21:26:17 GMT
>Organization: DFN.CIS Senior Customer
>Lines: 9
>Message-ID: <2qh8rpFvi6jiU1@uni-berlin.de>
>X-Trace: news.uni-berlin.de 9sj2ViefNkwlw4tmA89WfA6mie8fmrCfbXqlIJqR
ehUb0=
>User-Agent: Xnews/06.08.25
>X-Face: #Rk@TOQ|^!ZG|&z6lA@-CY>/xB[Ei1mG*&S.+A5z;Ng?3OxX[#DVZw!"o!c`S|p zsX-EkdZZ(IVnFRTX%!:Sv^L&Gk~s]
vJ@Z~%Rm@G]fr*r2P}u5*&k/-_2+&Qowj6hiJ1b$^JQf:uy9456HIdKq*B`NC##kyO,>7"Ztnav+=71b*"E+DIme;{i&)ii{#6e?i8P,1Xpc
[q0}i:Tm];B1
>X-Converter: MorVer Version 1.0.305
>Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!
newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.internationalization:902
>X-Tomcat-NG: microsoft.public.dotnet.internationalization
>
>Hi
>
>Let's imagine you're using a translation environment (LS) that's
>launching WinRes every now and then. Is it possible to open WinRes in
>full screen mode in this case? It's quite annoying that it doesn't
>remember if I switch it to full screen mode the next time it is invoked.
>
>thanks,
>Thomas
>
|
|
|
|
|