Document list bug

View: New views
3 Messages — Rating Filter:   Alert me  

Document list bug

by Jim Hays-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A bug has been reported for the A4D command:  document list  (issue
number 0000756)
 
4D's DOCUMENT LIST command works with file names up to 63 characters,
A4D's version only 31.
 
Does anyone have a suggested workaround?
Can I call a 4D method to retrieve the list and then pass the array from
4D back to A4D?
(I'm looking for this in the docs now, but if anyone can share a method
to do it, that would be great).
 
Thanks,
 

Jim Hays
http://www.relevant.us
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: Document list bug

by B. Perkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jim,

Based on similar experiences with other commands I suspect that 31
character limit is a limitation in the plug-in API and not Active4D.

Your workaround is probably the best way to go.

-- Brad Perkins

Jim Hays wrote:

> A bug has been reported for the A4D command:  document list  (issue
> number 0000756)
>  
> 4D's DOCUMENT LIST command works with file names up to 63 characters,
> A4D's version only 31.
>  
> Does anyone have a suggested workaround?
> Can I call a 4D method to retrieve the list and then pass the array from
> 4D back to A4D?
> (I'm looking for this in the docs now, but if anyone can share a method
> to do it, that would be great).
>  
> Thanks,
>  
>
> Jim Hays
> http://www.relevant.us
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>
>
>  


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

RE: Document list bug

by Jim Hays-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Brad,

I wrote a 4D method that calls DOCUMENT LIST, then wraps the array into
text.
A4D takes the text and does a slice string in a while loop.  

The limit for the document name length is 129 characters this way.

- Jim

 

-----Original Message-----
From: On Behalf Of Brad Perkins

Jim,

Based on similar experiences with other commands I suspect that 31
character limit is a limitation in the plug-in API and not Active4D.

Your workaround is probably the best way to go.
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/