Developing Iframe for Offline:-
a) While implementing Iframe custom web pages cannot function offline because the Internet connection is absent:So Iframe wont work in the below scenarios and the best solution is to notify the user with a friendly message or have the IFrame detect whether the user is offline and redirect the user to an offline friendly page.
When Iframe has an access to an external Web Service
When Iframe displays content from an external Web site
When it retrieves or updates data from an external database
b) While programming for Iframe that needs reference to Microsoft Dynamics CRM SDK services we need to get port number and organization name carefully. Because the web page needs to function both online and offline, we need to accommodate the different locations of the Microsoft Dynamics CRM SDK services. If the page is being run offline, the values needed by the CrmService, such as port number and organization name, are to be retrieved from the client computer’s registry.
c) For our IFrame to function while the user is online, we need to deploy our files to the CRM Web server under the ISV folder .As Microsoft Dynamics CRM for Outlook with Offline Access uses its own set of Web files in offline mode, we also need to deploy the Web files to each client computer under the ISV folder in the directory with the offline Web files.