Programmatically Extracting Attachments ntawm InfoPath ntaub ntawv (Nrog rau lawv cov npe!)

Kuv muaj ib tug nqi nkag teb chaws muab rau ib tug neeg uas leverages InfoPath thiab workflow. Rau ib kis thaum muaj kev pom zoo, Kuv yuav tsum tau ua kom muaj ib qho email uas muaj tag nrho cov ntaub ntawv InfoPath no uas zoo raws li qhov attachments lawv tus kheej kom (xyu) ib tug neeg tau muab cov ntaub ntawv ntawd thiab manually rov key ntawd rau hauv daim ntawv thov Oracle database.

Nws yuav tsis nyuaj rau koj tau nyob los yog parse daim InfoPath. Kuv tsis paub yuav ua li cas mus daws cov attachments, Txawm li cas los. Tom qab teev los yog ob leeg tshwm nyob ib ncig ntawm lub Internets (muaj eternity!) Kuv nrhiav tau no tsab xov xwm: http://support.microsoft.com/kb/892730

Nws muab ib co txoj ke mus extract lub Symptoms ntawm ib ntawm no hauv tsab ntawv. (Koj tseem yuav tau mus nrhiav tau rau ntawm no thiab txhua yam uas, tiam sis qhov cia li XML parsing).

Kuv paub tias tus Symptoms yog base64 encoded thiab kuv Ameslikas nqes mus ib txog kev uas nyuam qhuav extracting rau cov ntaub ntawv no base64, Nws hais thiab txuag. Txawm li cas los, Kuv sai heev pom tau hais kuv tsis paub yuav ua li cas kom tau lub npe ua ntaub ntawv thov nws tus kheej kom txog thaum kuv muaj nyob ntawm tshooj aforementioned.

Kuv twb yeej pom tias ntxov heev, tab sis kuv tau tso los ntawm nws cov split cwm pwm. Nyob rau hauv ib tes, tsab xov xwm * hais * tseem zoo InfoPath 2007. Tsis tau, cov cai thiab cov lus qhia no hais txog kev Studio 2003 thiab cov neeg ua tim khawv rau InfoPath 2003.

Ntxaib, cov cai uas cov tshooj pab ua hauj lwm zoo rau kuv (li ntawd, nyob deb). Kuv tau kuv daim ntawv InfoPath, Kuv parse nws, Kuv yuav nrhiav thiab txiav suab ntawm cov Symptoms thiab kuv paub lub npe. Tau dab tsi ntau ib qho hais kom yus lub neej?

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Ntawv cim npe Technorati: ,,

Yog koj txhawj xeeb uas koj lub chaw SharePoint tej zaum ib tad tsis zoo, cia kuv pab koj kho uas muaj ib cov kev kuaj xyuas.

sau ntawv cia

Koj email chaw nyob yuav tsis muab luam tawm. Search cim *