Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8831

Re: Problem in mapping input parameter for multiple Bigbinary data

$
0
0

You can do something like this,

 

First create a SUPObjectList object

 

SUPObjectList *tableData=[[SUPObjectListalloc]init];

 

assuming your Array holds all the objects from the database

 

self.myArray=[DatabaseHandlerdatabase].getData;

 

Loop around to fill the Data

 

for (int i=0;i<self.personInvolvedArray.count;i++)

        {

            DataInfo *info=[myArrayobjectAtIndex:i];

           

           MBOZTable *obj =[[MBOZTablealloc]init];

            obj.name = @"firstname";

            obj.lastname = @"lastname";

            obj.imagedata= //image with SUPBigbinary Data

           

            [personinvList addObject:obj];

        }



Then where you create a personalization key of the type of the input datatable and map it to the load argument you can assign the data to it as follows

 

pp.myImagePPkey = persinvList;

 

[pp save];

 

Then call the synchronize API.

 

Data will be reflected into the system.

 

Hope this helps,

Thanks,



Viewing all articles
Browse latest Browse all 8831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>