scExportObject

Typecommand
Dictionarylibrary.smartcrumbsvcw
LibrarySmartCrumbsVCW
Syntax
scExportObject <pLongId>
Associationscom.livecode.library.smartcrumbsvcw
Summary

This command is responsible for exporting livecode objects to crumbs

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Example
scExportObject the long id of stack "Untitled 1"
scExportObject the long id of this card
scExportObject the long id of the target
scExportObject the long id of widget 1 of this card
Values
NameTypeDescription
The result

if I manage to export the crumbs of the object it returns "export successful". Otherwise it returns empty

Description

Use the scExportObject command to create the crumbs for an object. Note that you should always save the highest ranked object (the main stack) before saving any other objects. Then you can save only the objects that you modify so you don't have to save everything.

Note: Always pass the long id of the object

Tagsversion control