• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1246
  • Last Modified:

Siebel - File Question

Hi

I want to read a file from the Siebel file system and return its contents as a base64 encoded string. Due to some apparent memory leeks in the various XML Converter libraries etc i was hoping to do this with straight code rather than calling out to any other services.

so something like

function ReadFileAsBase64String(filename){

   return the file contents as base 64
}

Ta

-P
0
makerp
Asked:
makerp
1 Solution
 
makerpAuthor Commented:
in addition i would like to perform the oposite - take a base64 string and write it to a file....
0
 
JekubIT DirectorCommented:
You need to use the CreateFile, GetFile & PutFile methods to extract and place files in the Siebel file system.

The details you'll need are in "Technical Note 198: Accessing File Attachments Through Siebel VB, Siebel eScript, and Siebel Object Interfaces" on Siebel Supportweb.

Good luck!
0
 
makerpAuthor Commented:
can this question be deleted - i solved this by writing a COM object

-P
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
dann47Commented:
Then please post the answer to the question
0
 
makerpAuthor Commented:
what pages and pages of C++ code?

here is how you call a COM object

http://siebel.ittoolbox.com/code/archives.asp?d=905&a=s&i=8

-P
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now