baanspider
26th August 2010, 11:52
Hi all,

Need your advise on how to get 'copy to clipboard' to work

I see that in the standard dashboard, this option works fine.
We can click the first record in the copy range and the last record, and we can copy and paste the range to excel

But in my customized dashboard, this option is not working.
It only copies one line rather than the range.

Does anyone know how to get this to work ?

thanks n regards

mark_h
26th August 2010, 16:14
Well I only work in 4c4, but is there a copy range or some type of range that needs to be turned on? Just curious.

baanspider
1st September 2010, 10:09
Hi Mark or any experts

How to turn on the Copy to Clipboard function ?

Please advise

thanks and regards

rberti
1st September 2010, 17:55
Hi spider,

I belive this is problem is not about only copy.to.clipboard function, but in range (global) functions in customized programs.

I say that becouse my copy.to.clipoboard command works just like yours, only copies the marked records and not the range when in customized sessions, but also global.delete form command doesn't work for customized sessions... never get enabled, even with the standard form command flag marked.

We've noticed Infor, but got no answer yet.

Regards

Rafael

baanspider
2nd September 2010, 10:05
thanks rberti for the update.

When you get reply from infor, please update this thread.

Push them for an answer.

thanks n regards

mark_h
2nd September 2010, 22:20
thanks rberti for the update.

When you get reply from infor, please update this thread.

Push them for an answer.

thanks n regards

I recommend you report it also - the more customers that report a problem the more priority it should get. It also might get you an answer quicker.

Good Luck!

rberti
5th October 2010, 01:09
Hey guys!

Accidentaly i've found out why the command global delete wasn't working.
It depends on the TIV number in scripts details. When greater then 1075, global delete doesn't get enabled, but if lower it get's enabled! Thats why most standard programs got this command workin: They were made in an older porting set version, wich current TIV was 1075 at most.

There are many TIVs avaliable to use in LN, depending on wich porting set you are working on. Some "ghost" problems can be solved changing the TIV number to the one that work with the features we need.
The problem is that the help doesn't explain too much about it, and it is also not always actual as the system that we are working on.

Hope it helps!

Regards,

Rafael

baanspider
5th October 2010, 06:55
Hi rbeti

What is TIV number? Can we change the TIV number freely?

Appreciate your help on this

thanks and regards

rberti
5th October 2010, 16:38
Hi baanspider.

TIV is Tools Interface Version. Every new version, brings new features.
It can be changed freely, according to the porting set od the system.
As I've said, we work here in two installations, the one with the newer p. set is able to work with a TIV number of 1640, and the older 1540, at most.
One difference beetween this numbers of tools interface version is that in the greater one the "select all" standard command works.
For example, if I change the TIV from 1540, default for new programs in our actual porting set, to 1075, the global.delete method works. But if I change it to a higher number, It stops to work.
Another example is in this thread: http://www.baanboard.com/baanboard/showthread.php?p=166289#poststop

My version of the Help only explain features until TIV 1300. But we work all new programs with the version 1540, by default.

Here it goes what the help file I've got says about it, and you can change TIV number in details of your program script session, ttadv2530m000.


Tools Interface Version (TIV)
The Tools Interface Version (TIV) is a concept supported by the Infor ERP LN Enterprise Server to guarantee backwards compatibility. By setting a TIV number to each object the behaviour can be different for incompatible features executed with different versions of the porting set or Infor Enterprise Engine. The TIV number is a property of the program and library scripts, and can be defined in session "Program Scripts / Libraries (ttadv2530m000)". The bshell also has its own TIV number.

Determing TIV number

Developers can determine which TIV number is used in an object or porting set and may use this information to use a different program flow. Next macros are known to determine a TIV number.

Macro Description
GET.BSHELL.TIV() Returns TIV number of running bshell
GET.TOOLS.TIV() Returns TIV number of tools
GET.OBJECT.TIV() Returns current object's TIV number
GET.OBJECT.TIV(string object) Returns TIV number of specified object

Caution

When updating a component to a higher TIV level, it can be necessary to do rework. This is for example the case when adopting TIV level 1075 (or higher). Whatever the reason is to do the TIV level upgrading, the rework for Record selection must be done. The session will not function with the old record selection mechanism anymore. Mandatory rework is indicated in the table below.

Supported Porting set TIV numbers

The supported TIV numbers related to porting set versions are listed below.

TIV Type Description Remarks
200 bshell original TIV level when TIV was introduced in 4c
500 bshell original TIV level when TIV was introduced in Corelli
TIV 1000 bshell

tools
Initial TIV level for porting set 7.5a
1001 bshell porting set 7.5a.01 ftp functions added in bshell
1010 bshell Initial TIV level for porting set 7.6a
1011 bshell porting set 7.6a ftp functions added in bshell
TIV 1012 bshell

tools
porting set 7.6a.01 Functions for Outbound Publishing

String size limit removed for xmlSetAttribute and other xml functions

db.get.child.transaction function added in bshell

TIV 1014 Tools Added tt.is.domain.separated() function.
TIV 1020 bshell

tools
New functions in Enterprise Server 8.2
1050 bshell porting set 7.6b Added Unicode support.
TIV 1075 bshell

tools
New functions in Enterprise Server 8.3/porting set 7.6c Note: Mandatory rework in record selection.
1076 bshell porting set 8.2b
1078 bshell porting set 8.2b.01
1100 bshell porting set 8.3a
1101 bshell porting set 8.2b.01 changed interface handle.report.pool() to handle more than 252 arguments

added syslibpath.env.var$() bshell function. Useful for ERP installer to determine system dependent env. var.

TIV 1200 bshell

tools
New functions in Enterprise Server 8.4/porting set 8.3b
TIV 1300 bshell

tools
New functions in Enterprise Server 8.4 for handling field dependencies.

Base TIV levels per Enterprise Server Feature Pack

The Base TIV levels per Feature Pack are as specified below. Those levels are the base levels. During the lifetime of a Feature Pack, additional numbers may be inserted.

If software is developed on a 'latest Feature Pack' development system, for release to customers who might be on a lower Feature Pack, the TIV level of the software should be maximized to the base level of the target Enterprise Server Feature Pack. If specific functionality within the target Feature Pack is necessary, installation of additional tools solutions or another porting set might be necessary before the newly developed software works correctly.

Example: when developing software for an ES 7 (LN FP1) system, the TIV level of the new components should be maximized on TIV level 1010. Only when the function tt.is.domain.separated() is used the level should be set to 1014 (And the target system needs to have solution 202854).

Version BASE TIV level
LN without feature packs 1000
Enterprise Server 7 (LN FP1) 1010
Enterprise Server 8.2 (LN FP2) 1020
Enterprise Server 8.3 (LN FP3) 1075
Enterprise Server 8.4 (LN FP4) 1200

Note: The TIV level can not be set higher than the current level of the tools or porting set.


Hope it helps!

Regards,

Rafael

JAlmeida
21st July 2011, 21:17
Hi everybody, we had the same problem to enable copy to clipboard, and for us only TIV 1000 enables this option.

Regards,

Jalmeida

VishalMistry
23rd July 2011, 08:32
Hi all,

Need your advise on how to get 'copy to clipboard' to work

I see that in the standard dashboard, this option works fine.
We can click the first record in the copy range and the last record, and we can copy and paste the range to excel

But in my customized dashboard, this option is not working.
It only copies one line rather than the range.

Does anyone know how to get this to work ?

thanks n regards

Hi,

If your tools is on FP5 or later, then in the program script of your custom session, try setting the TIV (tools interface version) to 1540, compile the script and check.

Vishal

pillai.ganesh
22nd September 2011, 07:51
Hey guys!

Accidentaly i've found out why the command global delete wasn't working.
It depends on the TIV number in scripts details. When greater then 1075, global delete doesn't get enabled, but if lower it get's enabled! Thats why most standard programs got this command workin: They were made in an older porting set version, wich current TIV was 1075 at most.

There are many TIVs avaliable to use in LN, depending on wich porting set you are working on. Some "ghost" problems can be solved changing the TIV number to the one that work with the features we need.
The problem is that the help doesn't explain too much about it, and it is also not always actual as the system that we are working on.

Hope it helps!

Regards,

Rafael

Can you give me some more details about it.
Even I am facing the same problem in FP6 our FP3 MMT session's copy to clipboard is not working when taken to FP6 ; infact it is giving a fatal error after selecting the record range.

tusharjain2204
1st April 2014, 12:28
Hello people,

Did anyone find any solution for this copy to clipboard issue?
I know we can set the TIV for a particular script at a lower value to get it work, but it's really not feasible to do every time when you create a new script.
Please update this thread if somebody has found the solution.

Thanks in advance.

dharmendrayadav
25th April 2017, 08:39
hi all,

for standard session script we unable change the TIV to 1000 for enabling the Copy to Clipboard option.

please help
I also tried to click on make "MakeP-VRC Curren"t with this i able to change the TIV but cant compile.

bhushanchanda
25th April 2017, 12:47
Do you have source code authorization?

It's always better to copy the component in your own VRC and then make the changes required. Do not modify the standard component in standard VRC.