Jump to content
zlocm

Get Cluster Items programmatically

Recommended Posts

Hi, I try to get cluster entries programmatically, but I can`t cast to datatype

post-18294-0-53216200-1300353028_thumb.p

Edited by zlocm

Share this post


Link to post
Share on other sites

Hi, I try to get cluster entries programmatically, but I can`t cast to datatype

Hi

As your two outputs are arrays I am assuming your cluster has two arrays in it. If that is the case you are trying to cast an array into a digital type you missed out the array cast see below

post-7256-0-04373900-1300355865_thumb.pn

A couple of things to look at to learn more about this control reference casting that might be of interest

Wiki control ref & control ref nugget & Try multiple type casts

hope this helps

Dannyt

  • Like 1

Share this post


Link to post
Share on other sites

This may be too trivial of an answer for your application, but you can just right click on a cluster element, select Create-> Reference, and a reference to the cluster element appears on your BD. No casting necessary.

Share this post


Link to post
Share on other sites

This might be even more trivial, but why woulodn't you just use unbundle or unbundle-by-name?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.