cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to apply dataset to an artifact with Java?

DEllenberger
4-Participant

How to apply dataset to an artifact with Java?

I'm looking to apply a dataset to an artifact as part of a java method to automatically grab and apply datasets to all wires on a sheet, but am getting caught at the final step. I have a populated artifact, and know which dataset to apply, but am having trouble figuring out how to marry the two together. 

 

Here's a quick rundown of pseudo code:

 

for each wire on page {
     verify wire has valid parameters
     if (wire is valid) {
         grab artifact information for wire
         check for a matching dataset
         if (matching dataset exists) {
            apply dataset to wire          // Here's what I don't know how to do
        }
    }
}

Can someone guide me towards if / how I can go about finishing this? I think I'm close to the solution, but I've got to be missing some piece...

 

Thanks!

 

0 REPLIES 0
Top Tags