May 06, 2012; 10:42
Steve St-Laurent
[FMPro] FMP12: Externally stored containers and export field contents
Have posted this question to various FMP boards and not had a nibble . . .
Is there a problem with the Export Field Contents script step with externally stored container fields in FMP 12?
Hosted with FMS 12, the right folder structure and files are created on the server, using the default location. Right-click export of field contents works but I'm having no luck scripting it. Message: "Undefined error 20403".
Script path statements are solid. If I change the storage back to in the container field it works. Here's the script:
Set Variable [ $$document; Value:Let ( [ MAC = "filemac:" & Get ( TemporaryPath ); PC = "filewin:" & Get ( TemporaryPath ) ] ; Case(Abs(Get ( SystemPlatform )) = 1; MAC; Abs(Get ( SystemPlatform ))= 2 ; PC ) & Documents::File Name) ]
Set Field [ Documents::LastDocumentPath; $$document ]
Go to Field [ Documents::Document ] [ Select/perform ]
Export Field Contents [ Documents::Document; =93$$document=94; Automatically open ]
-------------
Steve St-Laurent | <steve@holecomm.ca>
Hole-in-the-Wall Communications | Vancouver BC | 604 251 0700
bodybus.ca | tools to help manage your health
#############################################################
This message is sent to you because you are subscribed to
the mailing list FMPro
FMPro@lists.lassosoft.com
To unsubscribe, E-mail to: <FMPro-unsubscribe@lists.lassosoft.com>
Send administrative queries to <FMPro-request@lists.lassosoft.com>