Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Runtime and changing File reference

Featured Replies

Hey Guys,

We have a Inventory file that I need to send off to a few engineers as a runtime so they know what electronic components we have in stock. Creating the runtime is easy but within the inventory I also have the Components PDF stored as a reference for each component.

How can I change the reference that is stored in the container field? I tried to do a replace and change it that way, but can't do that on a container field. The file has approx 3500 records with about 1000 pdf's referenced. Current mapping looks as follows,

filewin://Hd-htgl5e9/share/PDF LAND/SemiConductors/1N4728_1N4764_Zeners.pdf

Maybe import the actual pdf into another container field so it lives within the runtime?

Just basically want to tell them put the runtime on your desktop and put the pdf folder in your C drive. Or maybe as I mentioned maybe importing the actual file is best way.

This isn't something we have to do daily but will need to be done 2x a year or so.

Any ideas are greatly appreciated.

Thanks,

Michael

  • Author

No takers huh....lol.

The pdf either needs to be imported to a field and stored within the file(Before I make the runtime). Or change the reference so that the pdf can be moved to another location.

The pdf is currently being opened via a script using select/perform on the container field.

I have an idea I will try tomorrow, but any suggestions can't hurt :)

Michael

Edited by Guest

  • Author

Well for what it's worth I did manage to fix this problem. I used a calc that Shadow posted helping someone else on these forums. I altered the calc as below and added it to a field named Local_Filepath

Let( eqPos = Position ( File_Path_calc ; "/p" ; 1 ; 1 );

Right( File_Path_calc; Length(File_Path_calc) - eqPos )

)

That returns a value in the Local_Filepath Field as

PDF LAND/SemiConductors/1N472 8_1N4764_Zeners.pdf

Which I then created a script that looped through the file setting the container field with this

Set Field[inventory::PDF_Location; "C://" & Inventory::Local_Filepath]

They then just need to put the PDF folder in their C drive. They can now open the pdf using the Open URL script step.

Might not be the easiest way to do it but it worked. :(

Michael

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.