Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 38
Registered: ‎12-03-2015

Workflow FormTable, file download from network Path.

Hi,

Probably trivial question : )

I have defined form action in my form table to open file from http locations:

 

<FormTable name="name" label=" " persisted="false" lov="xxxx " idfield="ID">

          <FormTableField name="RODZAJ_DOK" label="Rodzaj dokumentu" />

          <FormTableField name="DAT_UTW" label="Data dokumentu" datatype="date" />

          <FormTableField name="NR_REJ" label="Numer rejestru" />

          <FormTableField name="DECYZJA_POWOLUJACA" label="Decyzja powołująca" />

          <FormTableField name="UWAGI" label="Uwagi" />

          <FormTableField name="LOKALIZACJA" label="Załącznik1"/>

          <FormAction name="ZAL_DOK" label="Załącznik" type="row" action="SCRIPT[IG.browseInNativeBrowser({ROW.LOKALIZACJA})]" />

        </FormTable>

 

Now customer has changed file storing policy and stores paths in LOKALIZACJA attribute as local network (not http) paths like this one:

\\192.168.10.220 \02\0222\0222022\321\19910730.pdf

 

How I can define an action in the table to download a file from that location?

Can I use a formFile in the table?

Can I use a formFile but without upload option?

 

Thanks for your help.

Moderator
Posts: 240
Registered: ‎02-08-2016

Re: Workflow FormTable, file download from network Path.

Hello

 

I would be concerned for the customer using IP addresses instead of computer names for file storage as all the links will break if the IP address ever changes on his server.

I would also suggest storing the path that is not Windows dependant, a URL such as file://{ServerName}/02/0222/0222022/321/19910730.pdf

Is your customer open to recommendations?

 

Marc

Highlighted
Staff
Posts: 951
Registered: ‎10-19-2015

Re: Workflow FormTable, file download from network Path.

[ Edited ]

Hi,

 

I would map an http path to that location on your server if possible and use that url to download the file.

 

Thanks,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Polls
Please register to vote
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.