27
Views
6
Comments
Not getting data in Page Source while using Load on Visible
Application Type
Traditional Web

Hi,

I have implemented Lazy Loading in my Traditional Web Application using Load on Visible.

While checking with the Page Source Code, I am not able to find the data which I have kept in the Load on Visible content.

Please suggest me that is there any way to get the Load on Visible content data in the Page Source.

Thank you.

Hi @Yerra Chandra Mouli ,
If possible could you please attach the OML, so that I can check your implementation?

Hi Anubhav,

Please find the attached OML.

Thank you.

LazyLoadingPageSource.oml

@Yerra Chandra Mouli ,
I checked your OML, In "Screen2" you have implemented LoadOnVisible and it is working properly.
If you notice it takes a few more seconds to display the data on screen.
I have made some changes there so that you can notice this delay:-
1.) I placed 1 sample text "Test Lazy Load" just above the existing web block under the LoadOnVisible.
2.) Removed existing web block from the LoadOnVisible and kept it separate.
Now when you open Screen2 initialy you will able to see web block with all data, but sample text will take few more seconds to display because it placed under the "LoadOnVisible".

Please let me know if you have any query.

Regards,

LazyLoadingPageSource.oml

Hi Anubhav,

I have seen your implementation.

You have kept "Test Lazy Load" text in Load on Visible content. While opening Screen2 in browser and checking Page Source, I am not able to find the "Test Lazy Load" in Page Source.

My query is how to get the data in the Load on Visible content in Page Source.

Thank you.

@Yerra Chandra Mouli
If I am getting your question correctly,
You want to check the text in the source code.
Then, you will find it in the Elements" tab of the Developer tool.

Is there any motive or are you just checking this for learning purposes?

Hi,

We have a requirement in our project, data in the Load on Visible content should be displayed in the Page Source.

Thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.