Regarding 1) You can also use store the object in object repository and use GetRO property.
Ex) in our project we have a keyword called "Fetch_TransactionDetails" which will fetch the transaction details with reference number (dynamic value)after submit the transaction. This transaction details display in WebElement. We stored that object in object repository called "message_info"( please note mandatory property should not have innertext, value which contains run time value in the OR). From the datasheet we pass this keyword name (Fetch_TransactionDetails) and object name(message_inf) from the excel file.
2) not heard about dynamic and static function library. We maintain single function library file(qfl) for our entire project.
Please let me know if you need more details.
Regards,
Dinesh
Sent from my iPhone