Гледате помощното съдържание за версия:
- 6.4
- 6.3
- 6.2
- По-стари версии
AEM Forms provides the complete source code of the AEM Forms app. The source contains all components to build custom AEM Forms app. The source code archive, adobe-lc-mobileworkspace-src-<version>.zip is a part of the adobe-aemfd-forms-app-src-pkg-<version>.zip package on package share.
Бележка:
If you already have the source code archive, adobe-lc-mobileworkspace-src-<version>.zip, you can ignore the steps listed below and directly go to Build standard AEM Forms app.
To get the AEM Forms app source, perform the following steps:
- Navigate to package share
URL: http://<server>:<port>/crx/packageshare. - Download the source package. When you download the package, it is added in your AEM Forms package manager.
- After it is downloaded, navigate to: http://<server>:<port>/crx/packmgr/index.jsp, and install adobe-aemfd-forms-app-src-pkg-<version>.zip.
- To download the source code archive, open http://<server>:<port>/crx/de/content/forms/mobileapps/src/adobe-lc-mobileworkspace-src-<version>.zip in your browser.
The source package is downloaded on your device.
The following image displays the extracted contents of the adobe-lc-mobileworkspace-src-<version>.zip.

Directory |
Content |
---|---|
CordovaLib |
PhoneGap SDK 5.0 |
Capture |
Resources, PhoneGap plug-ins, and application's main module |
Capture.xcodeproj |
Xcode project for AEM Forms app |
www |
HTML, CSS, images, and JavaScript files for the AEM Forms app project |
For detailed information about Code Signing and adding devices to the iOS Provisioning Portal, see iOS Code Signing Setup, Process, and Troubleshooting.
-
Click Capture, under TARGETS, select Capture. Select the Summary tab, locate the Entitlement section, and uncheck Use Entitlements File checkbox.
The Xcode builds a standard Mobile Worspace app if the Use Entitlements File option is unchecked. To build a Secure AEM Forms app, see Building a Secure AEM Forms app for iOS.
-
For Code Signing Identity, select the appropriate signature. For detailed information about, creating new signatures, see Creating and Downloading Development Provisioning Profiles.
-
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>yourserver.com</key> <dict> <!-Include to allow subdomains-> <key>NSIncludesSubdomains</key> <true/> <!-Include to allow HTTP requests-> <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> <true/> <!-Include to support forward secrecy-> <key>NSExceptionRequiresForwardSecrecy</key> <false/> <!-Include to specify minimum TLS version-> <key>NSTemporaryExceptionMinimumTLSVersion</key> <string>TLSv1.1</string> </dict> </dict> </dict>
Бележка:
This step is required only if AEM Forms app needs to connect to a server that does not follow App Transport Security requirements.
You need to archive the Xcode project to build the installer (an .ipa file) and a property list (a .plist file) file. The property list file contains configuration information of the hosted in-house app, such as the name and the hosting location of the app. For more information about property list file, see About Information Property List Files.
-
Connect a provisioned iPad to a Mac machine. For detailed information about provisioning an iPad, see Creating and Downloading Development Provisioning Profiles