SOLVED: Javascript - iterating over aspects

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2009 09:33 AM
I would like to iterate over the aspects of a space:
Unfortunately the error text is not really helpful
for each (aspect in space.aspects){…}
For whatever reason this throws an exception. Unfortunately the error text is not really helpful
Failed to execute script 'workspace://SpacesStore/956ba79e-5cc5-4ee7-a389-99a8db00e8aa': null
What am I missing?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2009 09:49 AM
space.aspects
causes already an exception. Is the "aspects" member not accessible?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 05:08 AM
SOLUTION:
as of Alf3 the member is named "aspectsSet", not "aspects"
as of Alf3 the member is named "aspectsSet", not "aspects"
