Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Call FNP8_SetProperty (and other) actions within C# Custom Action

    Posted 2 days ago
    Edited by Danny Mann 2 days ago

    I need to be able to call or utilize some Datacap built-in actions like the FNP8_SetProperty in the FileNetP8 dll from within my C# custom action.  I have created many custom actions in C# after building the latest solution from GitHub that Datacap provides. They all work great. However, until now I have not had the need to access Datacap built-in actions from within our custom actions.  We are on 9.1.9 iFix 06. Please help if possible.



    ------------------------------
    Danny Mann
    ------------------------------



  • 2.  RE: Call FNP8_SetProperty (and other) actions within C# Custom Action

    Posted 2 days ago

    Hi Danny,

    I don't believe it's possible to call one Datacap action from another (you could potentially end up with an endless execution loop if so). From my perspective, Datacap actions are discrete operations which carry out single tasks, such as full-page OCR or the comparison of two variables. It sounds as though you are wrapping several tasks into one action, which may not be ideal from a Datacap perspective. You could just call the FNP8_SetProperty action in your application (this sets a document property), then call your custom action to do whatever you need it to do. 

    Hopefully that makes sense?

    Shaun



    ------------------------------
    Shaun McDowall
    ------------------------------