Start a new topic

Add Task?

What is a Task Attribute?


Wayne,

The "Task Attribute" is referring to the ImportOM.API.APITaskAttribute that is used to denote that a Sub routine should be available for Task Sets - Custom API Tasks. The routines are defined in the Global code of the IOM API (not specific profiles). Here is an example of how the code can be structured (obviously not a very productive example, but just for illustration):

_
Public Sub APITask_Example(ByVal oRec As Blackbaud.PIA.RE7.BBREAPI.CRecord, ByVal Cancel As ImportOM.API.iCancel)
oRec.Fields(blackbaud.PIA.RE7.BBREAPI.ERECORDSFields.RECORDS_fld_NICKNAME) = "Sample API Task"
End Sub

The "Sample API Task" is the value that will show in the drop down in Task Sets when Custom API Task is chosen.

image


Hope that helps, let us know if you have any other questions on it.

Shane


Shane Norris

Senior Software Developer

Omatic Software

Ah, thank you Shane. I think this applies to the List Management part of IOM which we don't have :(

Yes you are correct it is for List Management specifically (sorry to not include that originally).
Login or Signup to post a comment