Custom Workflow Activity & Web.Config RRS feed

  • Question

  • Hi,

    I'm using a custom activity and I want to read some parameters from config.

    Any way I read the appSettings I can´t find de keys. I tried diferent ways:


    and the configuration exists on the FIM Portal web.config like this:

          <add key="LogFilePath" value="D:\temp2"/>

    What can be happening??

    Many thanks,


    Friday, February 20, 2015 7:02 PM

All replies

  • You need to debug it to see if the condition is met or file read

    There could be a thousand


    Nosh Mernacaj, Identity Management Specialist

    Saturday, February 21, 2015 9:38 PM
  • The condition is met. The activity runs and logs several data about the request.

    The log path is obtained in the activity parameters from UI. Now, I'm trying to read it from config without success (allways get empty string when reading the configuration. WCF configuration is also not being readed.



    Sunday, February 22, 2015 12:26 AM
  • so you need to debug it to see. I dont know what is in your code. You need to step through code and it should be easy to find out. This is standard .NET.

    Nosh Mernacaj, Identity Management Specialist

    Sunday, February 22, 2015 2:03 AM
  • Hello,

    You need to put your parameters in the FIMService config file and not in the web.config of the FIMPortal.

    You can also to choose to use an external config file!



    Monday, February 23, 2015 10:11 AM
  • I found that the appSettings are readed from the Microsoft.ResourceManagement.Service.exe.config file

    Leave this info for someone who gets the same issue.



    Monday, February 23, 2015 10:21 AM