Workflow Soluiton

 View Only
  • 1.  ICS OR VCAL FILE

    Posted Jun 15, 2010 11:05 AM
    I need to create a VCAL or ICS file, but I need to create a file because the vCAL componenet dont have option to invitte persons to meeting.

    But I have to problems.

    I need create a ICS file with formt UTF-8, otherwise the characters "ç ~ ^" dow show normally. How to proceed to create a file in this format?

    I need to create this file in temp folder, how to proceed to save file in this folder to append each line in this file?


    Thanks



  • 2.  RE: ICS OR VCAL FILE

    Posted Jun 15, 2010 04:35 PM

    Encoding would be a great feature request for WriteTextFile but in the meantime you can do this pretty easily with the scripting component which lets you run .NET code inside the workflow.

    If you only want to email the calender as a file then you can probably use 'TextToByteArray' component which lets you specify the encoding to create the file binary data and then from this byte array use a single mapping component to create the actual FileDataType variable that can be emailed.

    If you need to save the component to the disk you can do it this way:

    1) Go to Import Components and add Scripting.Dll
    2) Add a 'Code (Script) Component' to you process
    3) Edit the Component and add the following from the next 3 screen shots. Case is important!

     

    Click 'edit parameter mappings' and map these variables you're defining here to existing variables from your process that contain the path of the ics file you want to write and the text data of the file.





    Once you've configured the component, you can add it to your library configured by right clicking and selecting 'Add to Component Library'
     



  • 3.  RE: ICS OR VCAL FILE

    Posted Jun 16, 2010 01:10 PM
    I need to send ICS our VCAL File by email, but I am having problems to create this file.

    Do you have any sample to make this? I need to use Append Line Component because I need invite persons to meeting.

    Can you help me?