About the discussion link of the original blog site is implemented with a WebPart connection
In order to display graphics in Blog, I have developed a WebPart, but the joining a discussion link is more difficult.
1. Look for the target address.
When I gave the mouse to the discussion link, I saw a function to JavaScript, and the link string is very long. I copied this link and tested on a different blog. It was found that other parts were unchanged in addition to the previous BLOG website address and the last Item ID number. http://imd.test.net/zHouyi1095/displog.aspx?xpage=58b5f5d8-21cc-49b1-af2e-26cf89e44bc3:Setfilter: Filterfield1=%2540ID&FilterValue1=34
2, so, I calculated this link in my WebPart.
Use spWeb.URL to calculate the site address, use Item ["ID"] to calculate the address of the entry
3, water falls
Today, I am deleting the original webpart, when I replace my webpart, I suddenly discovered that the original link was implemented through the WebPart connection.