You are viewing limited content. For full access, please sign in.

Question

Question

Copy connector profile across browsers

asked on January 6, 2022

I have created a connector profile for IE. Can I easily copy that and make it work in Chrome?

0 0

Replies

replied on January 7, 2022

I think that really depends on what the profile does.  You can edit the profiles to fairly easily change things like what program the profile runs on, what text appears for the profile link, etc.

If you have a fairly simple profile (let's say it's just a button that opens a website and doesn't do anything special with it - it's just a fancy shortcut).  You should easily be able to make a copy of that and change it to run with Chrome instead of IE.

But let's say it is much more complicated, getting information from within the browser window, looking up components of fields and other information.  Coverting that to run on Chrome is not so straightforward.  At that point, it's probably much easier to create a new profile with the wizard, that functions the same as the original profile than it would be to copy and tweak the existing profile.

0 0
replied on January 13, 2022

Thanks. It is simple, takes a screen shot and imports the document with metadata. Where will I change it to run with Chrome?

0 0
replied on January 13, 2022

You'll need to get into the folder where your profiles are saved.

Depending on your configuration, that folder path might be dictated in the "Options" inside LFConnector, or it might be one of the standard paths like:
C:\ProgramData\Laserfiche\Connector\Profiles
-or-
C:\Users\{yourusername}\AppData\Roaming\Laserfiche\Connector\Profiles

Just use Windows to make a copy of the profile (it'll be an xml file), and give the new file a useful name to identify it, and then use any text editor (I prefer Notepad++ but regular Windows Notepad works fine too) - find the line that says FlowDef id="xxxxx" where xxxxx is a long alphanumeric id.  This is a unique ID for each profile, you can just tweak any part of that ID to make it different from the original (or generate an entirely new ID randomly - there are sites that can help you do this, just Google search "Generate UUID").  Save the profile.

From here, you can choose to either edit the profile inside Connector, it should follow the same wizard from when the profile was created and allow any number of changes.  Or you can keep editing the XML manually in the text editor.

Since you said this is a very simple profile that just needs to be triggered from Chrome instead of IE, you can probably do this in the XML directly.  There should be a line that started with AppDef (probably a couple lines above the FlowDef we edited earlier).  There is a value called pname, I don't know what will be in that value, because I haven't created profiles for IE, but it probably says something about IE - for Chrome, the value will need to be set to chrome.  Then there is a value named wclass, once again I don't know what it says for IE, but for Chrome it will need to say Chrome_WidgetWin_1.

0 0
replied on January 13, 2022

Thanks, will try

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.