Jayakumar
Occasional Observer

FS5 Migration

Dear All,

i am doing the migration from FS4.2 to 5.1,

FS 4.2 code,

$CMS_VALUE(#nav.ref.meta("identifier","inherit"))$

How to use the  above code in the FS5.1?

Regards,

Jayakumar.C

8 Replies
MarsDD
Occasional Observer

Hi,

you could use the meta functionality in these following objects:

  • #global.node
  • #global.page
  • #global.section

Regards

Marcel

0 Kudos
Jayakumar
Occasional Observer

Hi Marcel,

Thanks for your reply,

i need some more information,

can i use below code in the FS5 system?

$CMS_VALUE(#nav.ref.metaFormData("identifier","inherit"))$

Regards,

Jayakumar

0 Kudos
MarsDD
Occasional Observer

Hi Jayakumar,

could you specify what you want?

Regards

Marcel

0 Kudos
Jayakumar
Occasional Observer

Hi Marcel,

i am doing the migration work,

The code available in the FS 4.2 is below,

$CMS_VALUE(#nav.ref.meta("identifier","inherit"))$,

i want to write above code in the FS5 system.

.meta is deprecate API  in the FS5

Regards,

Jayakumar.C

0 Kudos
MarsDD
Occasional Observer

Hi Jayakumar,

I think you want to get meta information about a page reference in a navigation function?

So you could use your code.

Did you use this one in a navigation function?

Regards,

Marcel

0 Kudos
Jayakumar
Occasional Observer

Hello Marcel,

yes i used in the natvigation function.

Since the .meta is deprecated in the FS 5.

So i need  the replacement of .meta in the FS 5.

FS 4 code ,

$CMS_VALUE(#nav.ref.meta("identifier","inherit"))$

FS5 Code,

?

Regards,

Jayakumar C

0 Kudos
MarsDD
Occasional Observer

Hi,

look here, there isn't any information about deprecated. I had used this code in some projects too and I didn't have any problems

Regards,

Marcel

Hi Jayakumar,

the method meta() is not officially declared as deprecated. Maybe you mean the method getMeta() which is declared as deprecated and is probably internally used by meta(). The fact that getMeta() is deprecated hasn't any influence on meta(). Maybe e-Spirit will migrate meta() to use getMetaFormData() in future releases.

You can still continue using the above code. Smiley Happy

Best regards

Sahin