I have an expense entry solution for a client that leverages InfoPath and workflow. At one point during the approval process, Mimi haja ya kuzalisha email kwamba ina wote wa data kwamba nzuri InfoPath vilevile attachments wenyewe, ili (wanaougua) mtu anaweza kuchukua data kwamba na manually re-ufunguo ndani ya maombi database Oracle.
It’s not very difficult to get at or parse the InfoPath form. I didn’t know how to handle the attachments, hata hivyo. After an hour or two of poking around the Internets (milele!) Nimeona makala hii: http://support.microsoft.com/kb/892730
It provide some handy code to extract the attachment from a node in the form. (Bado unahitaji kutafuta nodi na wote, lakini hiyo ni XML parsing).
Najua kwamba attachment ni Base64-encoded na mimi awali akaenda chini njia ya kuchimba tu data Base64, decoding it and saving it. Hata hivyo, Mimi haraka waligundua sikujua jinsi ya kupata jina la faili yenyewe mpaka nimeona makala aforementioned.
Nilikuwa kweli kupatikana kwamba mapema kabisa, lakini mimi nilikuwa kuweka mbali na kupasuliwa utu wake. Kwa upande mmoja, the article *says* it’s good for InfoPath 2007. Hata hivyo, kanuni na maelekezo yote kuhusu Visual Studio 2003 na marejeo ya InfoPath 2003.
Bottom line, kificho kwamba makala zinazotolewa ni kazi vizuri kwa ajili yangu (hadi sasa). I can get my InfoPath form, Siwezi Hazrat ni, I can find and decode the attachment and I know its name. What more can one ask of one’s life?
</mwisho>
Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin
Kama wewe ni wasiwasi kwamba SharePoint yako mazingira inaweza kuwa mbaya tad, napenda kukusaidia kurekebisha kwamba na kuangalia afya.