Highlighted

Field option in Variables area under the Insert tab

Community Beginner ,
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

877

Likes

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

Field option in Variables area under the Insert tab

Community Beginner ,
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

878

Likes

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
May 05, 2020 0
Adobe Community Professional ,
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

 

Likes

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
Reply
Loading...
May 05, 2020 0
Community Beginner ,
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.

Likes

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
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
May 05, 2020 0
Community Beginner ,
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.

Likes

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
Reply
Loading...
May 08, 2020 0
Amebr LATEST
Adobe Community Professional ,
May 08, 2020

Copy link to clipboard

Copied

Does that fix your issue?

Likes

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
Reply
Loading...
May 08, 2020 0