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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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
Announcements


Top Tags