advpl-web
CommunityBuild server-rendered web pages in Protheus.
AuthorJoniPraia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you implement server-rendered web UIs inside Protheus (ADVPL ASP) without a separate web app stack, so you can respond to HTTP requests by generating HTML from Protheus logic.
Core Features & Use Cases
- Server-rendered ADVPL Web pages (.APH): Mix HTML with ADVPL blocks (
<% ... %>) and inline output (<%= ... %>) to generate dynamic content. - HTTP input handling: Read GET/POST parameters, manage session state, access cookies, and control response headers/content type.
- AppServer Webex threading setup: Configure
HTTPSERVER+JOB_WEBEXinappserver.inito serve requests with a pooled worker model. - Upload/Download support: Handle multipart uploads and stream files securely for user workflows.
- Security guidance: Prevent common issues like XSS (escape user input) and path traversal (validate file paths before sending).
- Scope boundary: Use this for server-rendered UI; for REST/JSON use the related REST-oriented skill
advpl-webservice.
Quick Start
Tell the skill to show how to create a simple .APH page that includes apwebex.ch, reads a querystring with HTTPGet("cod"), and outputs an HTML response setting an explicit content-type.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: advpl-web Download link: https://github.com/JoniPraia/plugadvpl/archive/main.zip#advpl-web Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.