Asset Tracking Template For Sharepoint

 

The Asset Tracker form template, which is included in InfoPath, enables you to gather information about each asset in an employee's office, the department that the employee belongs to, categories of assets, and details about each asset. The Physical Asset Tracking and Management Hosted SharePoint Services application template helps teams in effectively managing proposals for new assets and tracking existing assets. Team members can input the owner’s name and include comments as to why the asset is required.

  1. Fixed Asset Tracking Template
  2. Desktop Asset Tracking Template
  3. Sharepoint Tracker Template

Microsoft Office InfoPath lets you create form templates for data entry and collection. Microsoft Office Excel 2007 enables users to calculate, chart, and analyze data. By using both of these programs and XML, you can easily create a simple but effective, no-code business solution for tracking assets in a company.

In this article

Introduction to creating an Asset Tracker solution

You can exchange XML data between InfoPath and Excel. Although the Infopath Export command is a simple, straightforward way to send form data to Excel, there's another approach you can take which gives you much more flexibility. By explicitly mapping the InfoPath XML schema file (.xsd) in Excel, and then importing InfoPath form files (.xml) into Excel, you can customize the layout of your data and better leverage the features in Excel to help you manage and analyze your data more efficiently.

In this article, we will use the InfoPath Asset Tracker sample form template to illustrate how you can make InfoPath, XML, and Excel work together. Imagine that each year, your organization inventories assets in each employee's office. Then, an Excel report is run to help decide how to allocate the equipment budget for next year. The following diagram is an overview of how you can gather, track, and report asset data in your department.

1. The Asset Tracker form template is created.

2. The schema file is mapped to an Excel table and the table layout is customized.

3. A blank PivotTable and PivotChart summary report is created.

4. The Asset Tracker form is used to collect data from users.

5. All form data is exported into the Excel table and the PivotTable and PivotChart reports are refreshed.

This solution involves the following user roles and products:

= Required = Not required

Software Requirements

Roles

Office InfoPath 2007

Office Outlook 2007

Office Excel 2007

Solution Designer

Decision-maker

Employees

Step 1: Customize the Asset Tracker form template

The Asset Tracker form template, which is included in InfoPath, enables you to gather information about each asset in an employee's office, the department that the employee belongs to, categories of assets, and details about each asset. In this solution, a form designer submits the form template to the decision-maker's e-mail account by using Office Outlook 2007.

Task 1: Open and customize the Asset Tracker form template

Because you cannot publish a form template to a list of e-mail recipients if it has a rich text box control containing linked images, you need to make a small change to the Asset Tracker sample template form.

  1. On the File menu, click Design a Form Template.

  2. In the Design a Form Template dialog box, under Open a form template, click Customize a sample.

  3. In the Getting Started dialog box, click Sample - Asset Tracker, and then under Form Tasks, click Design this form.

  4. Right click the assetNotes control, point to Rich Text Box properties, click the Display tab, and then under Available formatting, clear the Linked Images check box.

Task 2: Define the Submit options

The next task is to define the Submit options so that the employees can submit a uniquely named form file (.xml) to the decision-maker's e-mail account as an attached file.

  1. On the Tools menu, click Submit Options.

  2. In the Submit Options dialog box, select the Allow users to submit this form check box.

  3. Click Send form data to a single destination, and then, in the list, click E-mail.

  4. Click Add.

    The Data Connection Wizard appears.

  5. In the To box, type the alias of the decision-maker who will receive all the submitted forms.

  6. To specify a unique subject line, in the Subject box:

    • Click Insert Formula .

    • Type the following formula:

concat(my:employee/my:employeeName, my:employee/my:employeeDepartment)

  • Click Verify Formula, and then click OK twice.

  • In the Introduction box, type an appropriate message or add important instructions for this solution.

  • Click Next.

  • On the next page of the wizard, click Send the form data as an attachment, and then select the Attach the form template to ensure that users can open the form check box.

    This helps ensure that employees have access to the form template file (.xsn) in case they cannot access it from it's network location.

  • To specify a a unique file name for each form file (.xml) in the Attachment Name box:

    1. Click Insert Formula .

    2. Type the same formula as the one on the Subject line:

concat(my:employee/my:employeeName, my:employee/my:employeeDepartment)

  1. Click Verify Formula, and then click OK twice.

  • Click Next.

  • On the next page of the wizard, in the Enter a name for this data connection box, type a descriptive name for this submit data connection.

  • Verify that the information is correct in the Summary section, and then click Finish.

  • Save the form it to a public network folder accessible to the decision-maker and to all employees.

Step 2: Map the schema file and customize the table layout in Excel

Setting up the connection between InfoPath and Excel requires three tasks: extracting the schema file for the Asset Tracker form template, mapping this schema file in Excel, and customizing the default layout of the Excel table that will contain all the imported XML form data files.

Task 1: Extract the schema file from InfoPath

  1. In InfoPath, open the Asset Tracker form template file.

  2. On the Tools menu, click Design this Form.

  3. On the File menu, click Save As Source Files.

  4. In the Browse for Folder dialog box, select a folder or create a new folder where you want to store the schema file.

Note the location of the folder where all of the source files are saved and the name of the schema file, in this case, myschema.xsd, which contains the schema definition of the form XML data.

Task 2: Map the InfoPath schema file in Excel

  1. Create a new Excel file, and then save it to a location accessible to the decision-maker.

  2. In Excel, if the Developer tab is not visible, do the following:

    1. Click the Microsoft Office Button , and then click Excel Options.

    2. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.

      Note: The Ribbon is a component of the Microsoft Office Fluent user interface.

  3. On the Developer tab, in the XML group, click Source.

    The XML Source task pane is displayed.

  4. Click XML Maps, and then in the XML Maps dialog box, click Add.

  5. On a computer that is running Windows Vista

    1. In the Address bar, click the drive or folder that contains the myschema.xsd file that you created in step 2 of the section, Task 1: Extract the schema file from InfoPath.

      On a computer that is running Microsoft Windows XP

    2. In the Look in list, click the drive or folder that contains the myschema.xsd file that you created in step 2 of the section, Task 1: Extract the schema file from InfoPath.

  6. Click the file, and then click Open.

  7. When the Multiple Roots dialog box appears, click the assetTracking root node that is defined in the myschema.xsd file, and then click OK.

    The XML map is displayed in the XML Source task pane.

  8. Drag the ns1:asset node element, which is a repeating XML element, to the worksheet location where you want the Excel table to appear.

Task 3: Customize the layout of the Excel table

By default, Excel uses the XML element names as column headings for the table. However, you can change the column headings by editing the column header cells.

  1. To modify the default column headers, keep the Excel table selected, find the following string prefix, ns1:asset, and remove it. For example, you would change ns1:assetID to ID.

  2. To adjust the column width, click the Select All button, and then double-click any column heading boundary.

Step 3: Create a PivotTable and PivotChart summary report

Decision-makers use PivotTable and PivotChart reports to analyze, explore, and visualize summary data. By setting up the PivotTable and PivotChart reports you want to use in this scenario ahead of time, it will be a simple operation for a decision-maker to run the report with the completed data later.

  1. Select a cell in the Excel table.

  2. On the Insert tab, in the Tables group, click PivotTable, and then click PivotTable.

    Excel displays the Create PivotTable dialog box.

  3. To place the PivotTable report in a new worksheet starting at cell A1, click New Worksheet, and then click OK.

    Excel adds an empty PivotTable report to the specified location and displays the PivotTable Field List so that you can add fields, create a layout, and customize the PivotTable report.

  4. To create a cross-tabular report of the data, drag the ID field to the Values area, the Department field to the Column labels area, the Category field to the Row labels area, and the AssignedTo field to the Report Filter area.

  5. Click the PivotTable report.

  6. On the Insert tab, in the Charts group, click the Bar chart type.

  7. Under 2-D Bar, select Clustered Bar.

  8. Adjust the size and location of the PivotChart report to your preference.

Step 4: Collect asset information from users

Now, that the form template is ready to be filled out by all of the employees, you need to publish the form and send it to each employee. When each employee submits the completed form, it is sent as an XML data file (.xml) attached in an e-mail message to the decision-maker's e-mail account. The decision-maker can then move all of the messages to a dedicated InfoPath folder in Outlook. In this scenario, it is recommended that you assign a specific time-period for all users to complete the forms so that the decision-maker can run the report with all the completed forms when the xmlns:friendlytitlelookup='urn:FriendlyTitleLookup' xmlns:hrefappend='urn:HrefExtensions'>

  1. In InfoPath, open the form template (.xsn) that you saved in Step 1: Design the Asset Tracker sample form template

  2. On the Tools menu, click Design this Form.

  3. On the File menu, click Publish.

  4. In the Publishing Wizard, click To a list of e-mail recipients, and then click Next.

  5. On the next page of the wizard, in the Form template name box, type a name for the form template, and then click Next. The form template name will appear in the subject heading of the message that is sent to your e-mail message recipients.

  6. Optionally, on the next page of the wizard, you can create columns that will appear in your Outlook folders to help organize your e-mail messages.

  7. Click Next.

  8. Click Publish.

  9. After the Publishing Wizard finishes publishing the form template, an e-mail message with the form will open.

  10. Fill out the message, type in the employee names or use a distribution list, and then send the message.

In Outlook, the decision-maker can organize all of the submitted XML forms in one of two ways:

  • If the InfoPath Form folders message box appears the first time the message opens, click Create Form Folder.

  • Create a rule in Outlook to move all of the related InfoPath forms to an InfoPath folder.

    For more information, see Manage messages by using rules.

Fixed Asset Tracking Template

Step 5: Import forms into Excel

Because you already created the Excel workbook steps 2 and 3, it's a simple matter for the decision maker to export and review the form data. The decision maker simply needs to export the xml files (.xml) from Outlook, import all of the form files (.xml) into the Excel workbook, and then refreshing the data.

Task 1: Export the forms from Outlook to a Windows folder

  1. In Outlook, select the folder that contains all of the forms that you received from employees, and then press CTRL+A to select all of the form e-mail messages.

  2. Right click the selection, point to InfoPath Actions, and then click Export Forms.

  3. In the Export Forms dialog box, select a folder, and press OK.

Task 2: Import the forms into Excel

  1. In the Excel workbook that you created in Step 2: Map the schema file and customize the table layout in Excel, select one of the mapped cells in the Excel table.

  2. On the Developer tab, in the XML group, click Import.

    The Import XML dialog box is displayed.

  3. On a computer that is running Windows Vista

    • In the Address bar, click the folder that contains the XML data files (.xml) created in Task 1: Export the forms from Outlook to a Windows folder.

      On a computer that is running Microsoft Windows XP

    • In the Look in list, click folder that contains the XML data files (.xml) created in Task 1: Export the forms from Outlook to a Windows folder. Autocad 2007 free torrent download crack fifa.

  4. Do one of the following:

    • If the files are contiguous, press SHIFT, and then click the first and the last file in the list.

    • If the files are not contiguous, press CTRL, and then click each file that you want to import in the list.

  5. Click Import.

By default, Excel overwrites any existing data in the mapped cells, which is the desired final outcome for this business solution. However, a decision-maker could, for example, import the data several times to gauge progress before the scheduled deadline.

Note: In Excel, you can also append the data by using the Append new data to existing XML tables option (on the Developer tab, in the XML group, click Map Properties), which may be appropriate for other solutions.

For more information, see Import XML data.

Task 3: Refresh the PivotTable and PivotChart reports

  • Click a cell in the PivotTable report.

  • On the Options tab, in the Data group, click the arrow next to Refresh All, and then click Refresh.

The Excel workbook now contains all of the data and summary reports that you need to help you allocate the equipment budget for next year. Of course, you can do further analysis in your Excel workbook if necessary, such as sorting, filtering, or conditionally formatting the data.

Final thoughts: Consider using a SharePoint list or Access database

As an alternative, consider using a SharePoint list or Access database, instead of XML, to transfer data between InfoPath and Excel.

Use a SharePoint List

Desktop Asset Tracking Template

From InfoPath, you can easily use a SharePoint list as a read-only data source. You can do one of two things:

  • From the SharePoint list, export the data to Excel, which automatically creates a data connection in Excel.

  • From Excel, explicitly create a data connection to the SharePoint list.

Once a data connection is created, you can refresh the data in Excel to retrieve up-to-date data.

You can use a SharePoint list to add and update the data, use an InfoPath form to display an item from the list (for example, a complex or long item best displayed vertically), and then use Excel to further analyze the data.

1. Display a single item for easy review in InfoPath.

2. Add and update data in a SharePoint List.

3. Refresh and report up-to-date with Excel.

For more information, see Add a data connection to a SharePoint document library or list

Use an Access database

From InfoPath, you can create a read/write connection to an Access database. From Excel, you can explicitly create a data connection to the Access database that you can refresh to retrieve up-to-date data. You can even define the connection to automatically refresh when the workbook is opened, or periodically refresh, such as every 5 minutes.

You can use an Access database as an intermediary between InfoPath and Excel. When you submit an InfoPath form to Access, you update the Access database. When you refresh the data connection in Excel, you retrieve updated data from Access. In effect, you are submitting data indirectly from InfoPath to an Excel workbook.

1. Display and submit a form to an Access database.

2. Store data in an Access database.

3. Refresh and report up-to-date with Excel.

For more information, see Design a form template that is based on a Microsoft Access database.

Tip: Did you know that you can create an InfoPath form directly from Access? If your users have Outlook 2007 or 2010 and InfoPath 2007 or 2010 installed on their computers, you can gather data from diverse users directly from Access by using the Collect data from e-mail messages wizard. For more information, see the Access help topic, Add the data collected through e-mails to your Access database.

Important Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices.

Access has a web app called “Asset tracking” that helps you track your inventory of business assets. You can download and create the app (it's free) in about a minute and then customize it to fit your needs. This web app requires Access 2013 or higher in order to make design changes.

Important: Before you can create an asset tracking web app, you need a SharePoint site where you can host the app, either through an Office 365 subscription that includes sites or your own SharePoint deployment.

  1. Start Access, and click the Asset tracking icon.
    On the Asset tracking setup screen, you'll see a preview of what the app will look like.

  2. In the App Name box, type a name for your new web app.

  3. In the Web Location box, enter the URL for a SharePoint or Office 365 site where you'll create your web app, then click Create.

    Tip: If you copy and paste the URL from your site open in your web browser, omit “_layouts” and everything after it. For example, enter: https://contoso.sharepoint.com/sites/sales/
    If you have trouble, see Find a web location for your Access web app.

    After Access creates the app at the web location you specified, the web app should appear in a minute or less.

Your new web app opens in Design view in Access. The web app is shown as a page with a tab containing its name. Since we started with the asset tracking app template, you’ll see three pre-built tables listed just below this tab: Assets, Categories, and Employees. You can start using the app right away, or you can customize it by adding and modifying tables, and adding new or modifying existing views for each of its tables.

One way to add a new table to your web app is by looking for a table template in the What would you like to track? search box. Once you choose a table template, Access builds one or more tables based on the template with fields that have names, data types, and relationships with other fields and tables that make sense for what the table will contain.

Let's say you want to keep track of equipment your company owns, such as tools. Type 'equipment' in the search box, and a table template named Items shows up a few positions down in the list. Click Items, and a new table named Items appears in the left pane with the original three tables – Assets, Categories, and Employees. And there's a new table, Contacts, that was created when you added the Items table that's connected to the Items table.

Click Items in the left pane, and you'll see three views (think of forms), each of which is a different way to look at and enter data for the table. Moving left to right, you'll see the List view, the Datasheet view, and the By Category view. When you create a new table, it always has at least a List and a Datasheet view. The Assets table has a custom 'By Category' view because that view was built into the Items table template that the table was based on.

Now that you've had a good look at the app's design in Access, you're ready to start using it.

  1. On the Home tab, click Launch App.

Sharepoint Tracker Template

This starts the app in your default web browser.

  1. On the app page, start entering information. Press the Tab key to move between the boxes like you would on a typical data entry form.

  2. When you're finished entering the information for your first record, click the Save button on the action bar.

    The action bar has five buttons for working with records (Add, Delete, Edit, Save, and Cancel).

  3. After you've saved the record, the Add, Delete, and Edit buttons on the action bar will be available so you can add a new record, or edit or delete the current record.

To learn more about creating, customizing, and working with Access web apps, see the following articles and videos:

Copyright © 2020 d5jxi.netlify.com