• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Field option in Variables area under the Insert tab

Community Beginner ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

When I insert the Field with the date "yyyy" format, it inserts in the HTML the following code:

<?rh-variable_start name="date" format="yyyy" showcode="showcode" value="43956.371377" ?>.

 

What value="43956.371377" means? Is it safe to delete it? What role it plays?

Views

991

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

That's the date represented as a number, so if you delete it, I imagine you'd break the field.

 

Try this in Excel to see what I mean.

 

Type a date.

image.png

 

 

 

Change the format to Number and the date changes to something similar to the field value:

image.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

Thanks.

Challenge is it keeps on changing whenever I edit anything in that topic where I inserted this field. So, I was just looking for a way where I can fix the field.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2020 May 05, 2020

Copy link to clipboard

Copied

Assuming Robohelp Classic, try double-clicking on the field and unticking the "Auto-update this field" checkbox.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

I tried it. This is how the code looks like now:

<?rh-variable_start name="date"
format="yyyy" showcode="showcode" value="43958.542095" constant="TRUE" ?>

 

There is one more item Constant now.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

LATEST

Does that fix your issue?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp