June 2, 200916 yr Is there a method to automatically calculate the name of a file in a SuperContainer field and have it displayed in a text field? I have a feeling that the SCGetInfo plugin should be involved, but its use seems to be restricted to scripts and I cannot figure out how to use it in a calculation field. Many thanks. Colin Hunter
June 2, 200916 yr Yes if you create an unstored calc that is: Let ( [ base = SCSetBaseURL("http://localhost:8020/SuperContainer/Files"); sc = SCGetInfo("/photos/12345" ) ] ; GetValue ( sc ; 1 ) )
December 15, 201015 yr Is there any way to display the FileName, with the applet ( drag & drop ), but without the plugin? if I specify "noapplet" I can display title and info but if the applet is used, no info is displayed might I need to put two web viewers on the layout, one applet, and one noapplet? thanks, greg >Is there a method to automatically calculate the name of a file in a SuperContainer field and have it displayed in a text field? Colin Hunter
December 21, 201015 yr You can get the filename even easier than that. Just make an unstorecd calc field that is SCGetInfo("/photos/12345") and it will work if you call SCSetBaseURL in your startup script (which I recommend doing). The applet won't show the file name currently, so I recommend using scgetinfo to get the filename and information in a field on your layout.
Create an account or sign in to comment