Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member186016
Active Contributor

SAP Mobile Documents requires that you put your content in the “Mobile Docs” folder, under relevant sub-categories such as My Documents, Shared Documents and Corporate Documents.

I started using SAP Mobile Document recently, but before that I had my documents in various locations under various drive partitions. I wanted to retain this structure and was looking for some option that enables these folder to be uploaded to the SAP Mobile Document server.  I found one simple way and here I share it with you :smile:

You need to execute the following steps to enable it on your Windows and Mac systems:


Windows:

Consider you have the following folders to be synced to your My Documents folder

  • C:\Important Documents\Personal Apps\Mock-ups
  • D:\Office\Mock-ups\Desktop Client Mock-ups

Steps:

  1. Open the command prompt in the Administrator role
  2. Run the following commands


mklink /D "C:\Important Documents\Personal Apps\Mock-ups” “<path to mobile docs folder>\Mobile Docs\My Documents”
mklink /D "D:\Office\Mock-ups\Desktop Client Mock-ups” “<path to mobile docs folder>\Mobile Docs\My Documents”

If you are tired of typing the command do following:

  1. Open command prompt in Administrator role
  2. Type "mklink"
  3. Enter space
  4. Select the folder "D:\Office\Mock-ups\Desktop Client Mock-ups" in file explorer, drag and drop it in command prompt
  5. Enter space
  6. Select the My Documents folder under Mobile Docs in file explorer, drag and drop it in command prompt
  7. Press enter to run the command


Mac:

Consider you have the following folders to be synced to your My Documents folder

  • \Users\Michael\Desktop\Personal Apps\Mock-ups
  • \Users\Michael\Desktop \Office\Mock-ups\Desktop Client Mock-ups

Steps:

  1. Open the terminal
  2. Run the following commands


ln -s "\Users\Michael\Desktop\Personal Apps\Mock-ups” “<path to mobile docs folder>\Mobile Docs\My Documents”
ln -s "\Users\Michael\Desktop \Office\Mock-ups\Desktop Client Mock-ups” “<path to mobile docs folder>\Mobile Docs\My Documents”

If you are tired of typing the command do following:

  1. Open terminal in administrator role
  2. Type "ln"
  3. Enter space
  4. Select the folder "\Users\Michael\Desktop\Personal Apps\Mock-ups" in file explorer, drag and drop it in command prompt
  5. Enter space
  6. Select the My Documents folder under Mobile Docs in file explorer, drag and drop it in terminal
  7. Press enter to run the command


The steps mentioned above will create two links in your My Documents folder on the respective OS.

Now, these target folders are in sync with the SAP Mobile Document server. Any document added to the target folder (e.g. C:\Important Documents\Personal Apps\Mock-ups) will be uploaded to the server and if content is added on the server in this Mock-ups folder, it will be downloaded to the target folder.

1 Comment