Re: [rt-users] Asset Tracker API

2009-08-18 Thread Michael Ellis
[mailto:michael_el...@umanitoba.ca] Sent: August-17-09 9:01 AM To: 'Michael Ellis' Cc: 'Todd Chapman'; 'rt Users'; jsmor...@mvlan.net; william_mo...@umanitoba.ca Subject: RE: [rt-users] Asset Tracker API All of a sudden this morning it's working. I can't explain, but am happy. -Mike

Re: [rt-users] Asset Tracker API

2009-08-17 Thread Michael Ellis
but not in the UI. Is there any ACL for seeing links? Do links touch any other tables somehow? -Mike -Original Message- From: Todd Chapman [mailto:t...@chaka.net] Sent: August-14-09 4:17 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Todd Chapman
:46 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API My bad. If you want to link $at to $other_at: $at-AddLink(Type='RefersTo',Target= $other_at-URI); Try it and see. On Wed, Aug 12, 2009 at 4:38 PM, Michael Ellismichael_el...@umanitoba.ca

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Michael Ellis
: Todd Chapman [mailto:t...@chaka.net] Sent: August-14-09 1:09 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API After callin $at-new you have to call $at-Load. Once the asset is loaded you can call AddLink. Links are bi-directional so you don't have

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Todd Chapman
...@chaka.net] Sent: August-12-09 3:46 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API My bad. If you want to link $at to $other_at: $at-AddLink(Type='RefersTo',Target= $other_at-URI); Try it and see. On Wed, Aug 12, 2009 at 4:38 PM, Michael

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Michael Ellis
Yes, I should have mentioned that. -Mike -Original Message- From: Todd Chapman [mailto:t...@chaka.net] Sent: August-14-09 2:56 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API Not sure why. Do links created in the UI show up? On Fri, Aug

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Michael Ellis
; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API What do the DB entries look like for asset that do show up in the UI? On Fri, Aug 14, 2009 at 4:11 PM, Michael Ellismichael_el...@umanitoba.ca wrote: Yes, I should have mentioned that. -Mike -Original Message- From: Todd

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Todd Chapman
To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API Not sure why. Do links created in the UI show up? On Fri, Aug 14, 2009 at 3:26 PM, Michael Ellismichael_el...@umanitoba.ca wrote: Ah Cool, thanks. I *really* appreciate the help. My manager's

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Todd Chapman
Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API What do the DB entries look like for asset that do show up in the UI? On Fri, Aug 14, 2009 at 4:11 PM, Michael Ellismichael_el...@umanitoba.ca wrote: Yes, I should have mentioned that. -Mike -Original Message

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Michael Ellis
...@mvlan.net Subject: Re: [rt-users] Asset Tracker API Might be a bug in AT. In your script change: $at-AddLink(Type='HasComponent',Target= $URI); to: $at-AddLink(Type='HasComponent',Base= $URI); All links of the type should be stored as ComponentOf. On Fri, Aug 14, 2009 at 4:21 PM, Michael

Re: [rt-users] Asset Tracker API

2009-08-14 Thread Michael Ellis
but not in the UI. Is there any ACL for seeing links? Do links touch any other tables somehow? -Mike -Original Message- From: Todd Chapman [mailto:t...@chaka.net] Sent: August-14-09 4:17 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API

Re: [rt-users] Asset Tracker API

2009-08-13 Thread Michael Ellis
...@chaka.net] Sent: August-12-09 3:46 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API My bad. If you want to link $at to $other_at: $at-AddLink(Type='RefersTo',Target= $other_at-URI); Try it and see. On Wed, Aug 12, 2009 at 4:38 PM, Michael

Re: [rt-users] Asset Tracker API

2009-08-12 Thread Todd Chapman
It should be similar to adding links to tickets. Ticket example: $TicketObj-AddLink(Type='RefersTo',Target=$ticket-id); So asset would be: $at-AddLink(Type='RefersTo',Target= $at-URI); The default link types are: RefersTo ReferredToBy RunsOn IsRunning DependsOn

Re: [rt-users] Asset Tracker API

2009-08-12 Thread Michael Ellis
-users-boun...@lists.bestpractical.com] On Behalf Of Todd Chapman Sent: August-12-09 12:04 PM To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API It should be similar to adding links to tickets. Ticket example: $TicketObj-AddLink(Type='RefersTo',Target=$ticket

Re: [rt-users] Asset Tracker API

2009-08-12 Thread Todd Chapman
To: Michael Ellis Cc: rt Users; jsmor...@mvlan.net Subject: Re: [rt-users] Asset Tracker API It should be similar to adding links to tickets. Ticket example: $TicketObj-AddLink(Type='RefersTo',Target=$ticket-id); So asset would be: $at-AddLink(Type='RefersTo',Target= $at-URI); The default