Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

createnewitem - copy filtered picklist

1 REPLY 1
Reply
Message 1 of 2
jonas.andersson
328 Views, 1 Reply

createnewitem - copy filtered picklist

Hi there,

 

I have difficulties when I want to copy a filtered picklist field from one item to a new item through a script, using the library script createnewitem.

 

The single line fields copy nicely, but the picklists don't.

 

What should I do?

 

var newProperties = [];

newProperties.RMA_DATE = new Date();
newProperties.CUSTOMER = item.CUSTOMER;
newProperties.NOTES = item.NOTES;
newProperties.PRODUCT = item.PRODUCT;
newProperties.EXPERIENCED_PROBLEM = item.EXPERIENCED_PROBLEM;
newProperties.FIRST_PROPOSED_SOLUTION = item.FIRST_PROPOSED_SOLUTION;
newProperties.CUSTOMER_SUPPORT_ITEM = item;
var newItem = createNewItem('WS_RETURN_MERCHANDISE_AUTHORIZATION', newProperties);

if(item.SPAWNED_RMA === null){
item.SPAWNED_RMA = newItem;
}

 

 

Kind regards,

Jonas

1 REPLY 1
Message 2 of 2
jdow
in reply to: jonas.andersson

I'm having the same exact challenge!  Is this even possible?  Any solutions to this challenge?

 

Thanks,

John

JD

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report