<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Karim El Gezawy]]></title><description><![CDATA[Karim El Gezawy]]></description><link>https://karimelgezawy.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 22 Nov 2026 15:07:22 GMT</lastBuildDate><atom:link href="https://karimelgezawy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Oracle’s November 2026 Security Update: A Practical Plan for APEX and ORDS Teams]]></title><description><![CDATA[A practical guide to patch ownership, testing, and verification for Oracle APEX and ORDS after the November 2026 CSPU.]]></description><link>https://karimelgezawy.hashnode.dev/oracle-november-2026-security-update-apex-ords-patching-plan</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/oracle-november-2026-security-update-apex-ords-patching-plan</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Wed, 18 Nov 2026 01:08:31 GMT</pubDate><content:encoded><![CDATA[<img src="https://k-elgezawy.github.io/assets/covers/oracle-cspu-nov-2026.jpg" alt="Oracle security update: 655 new security patches, 17 November 2026" style="display:block;margin:0 auto" />

<h2>English</h2>
<p>A security notification has done its job when it leads to a clear decision: what needs attention, who owns the work, and how the team will verify the result.</p>
<p>Oracle released its November 2026 Critical Security Patch Update on 17 November. The advisory lists <strong>655 new security patches</strong> across its product families, including Oracle APEX and Oracle REST Data Services. That is a count of patches, not a count of unique vulnerabilities or an instruction to install every patch on every system. Applicability depends on the products and versions actually deployed. <a href="https://www.oracle.com/security-alerts/cspunov2026.html">Oracle’s November advisory</a></p>
<p>For teams building on APEX, the useful response is a review of the application’s supporting stack, followed by a documented update plan.</p>
<h2>Understand what CSPU means</h2>
<p>A Critical Security Patch Update (CSPU) delivers focused fixes for high-priority issues between the quarterly Critical Patch Update (CPU) releases. The quarterly CPUs remain cumulative and include fixes from earlier CSPUs. The two programmes complement each other; a team following only the quarterly calendar can miss an earlier opportunity to address an urgent issue. <a href="https://www.oracle.com/corporate/security-practices/assurance/vulnerability/security-fixing/">Oracle security fixing policies</a></p>
<p>The notification does not establish that a particular environment has been compromised. It calls for checking exposure and acting on the applicable fixes.</p>
<h2>Establish who owns each layer</h2>
<p>Start with an ownership question before discussing a maintenance window.</p>
<p>For a customer-managed installation, the team operating the software is responsible for planning, testing, and applying the relevant updates. Running that installation on an OCI virtual machine does not, by itself, transfer application patching to Oracle. OCI uses a shared security model that includes customer responsibilities for the platforms and applications they create. <a href="https://docs.oracle.com/en-us/iaas/Content/cloud-adoption-framework/security.htm">OCI shared security model</a></p>
<p>Oracle-managed services follow the provider’s maintenance processes. Confirm the scope of the specific service and check its maintenance notices or support channel when the patch status is unclear. <a href="https://www.oracle.com/security-alerts/#cloud">Oracle Cloud security update guidance</a></p>
<p>A useful ownership record names the responsible team for the database, APEX, ORDS, the Java runtime where used, and the operating system. Each layer should have an identifiable owner.</p>
<h2>Turn the advisory into a work item</h2>
<p>The following is a practical workflow proposal for an APEX team.</p>
<p><strong>1. Record the actual environment.</strong> Capture product versions, installed patch levels, deployment type, internet exposure, and the applications using the stack. Keep production and test environments distinct.</p>
<p><strong>2. Match the inventory to Oracle’s documentation.</strong> Read the affected-version entries, risk matrices, and the linked Patch Availability Documents. Use the product’s patch README to establish prerequisites and installation steps. Do not infer the required patch from a social post, a screenshot, or the latest version number alone.</p>
<p><strong>3. Prioritize with context.</strong> Consider the affected component, whether it is reachable, the authentication conditions described in the matrix, and the importance of the service. Assign an owner and a target window so that the review has an operational outcome.</p>
<p><strong>4. Prepare recovery before changing production.</strong> Check backups and the applicable rollback or recovery procedure. Agree on the conditions that would cause the team to stop or recover. Use the product-specific instructions to determine the safe approach.</p>
<p><strong>5. Test real application journeys.</strong> In a representative non-production environment, review sign-in and sign-out, authorization, forms, report exports, file uploads, scheduled work, and REST integrations used by the application. Select tests from the application’s actual functions.</p>
<p><strong>6. Verify after deployment.</strong> Retain evidence of the installed patch level and review logs. Recheck important user journeys under the appropriate accounts. A service starting successfully is useful evidence, but it does not establish that every business function still works.</p>
<p>This emphasis on identification, prioritization, installation, and verification also aligns with NIST’s enterprise patch management guidance. <a href="https://csrc.nist.gov/pubs/sp/800/40/r4/final">NIST SP 800-40 Rev. 4</a></p>
<h2>Define what “complete” looks like</h2>
<p>A concise change record should answer:</p>
<ul>
<li>Which deployed components required action?</li>
<li>What was installed, and when?</li>
<li>Which application checks passed?</li>
<li>Who reviewed the result?</li>
<li>What remains unresolved, with an owner and a follow-up date?</li>
</ul>
<p>If a component is considered unaffected, record the basis for that conclusion. An unsupported version’s absence from a supported-version list should not be treated as evidence of safety.</p>
<p>The next listed releases are <strong>15 December 2026 (CSPU)</strong> and <strong>19 January 2027 (CPU)</strong>. Add them to the review calendar while addressing the current release. <a href="https://www.oracle.com/security-alerts/">Oracle release schedule</a></p>
<p>Security maintenance becomes easier to manage when each notification ends with a traceable decision and verified work. For an APEX team, that means treating the application, ORDS, database, and underlying runtime as an operational system with clear ownership.</p>
<hr />
<h1>تحديث Oracle الأمني لشهر نوفمبر 2026: خطة عملية لفرق APEX وORDS</h1>
<p>قيمة التنبيه الأمني تظهر في القرار الذي يليه: ما الذي يحتاج إلى تحديث؟ من المسؤول عنه؟ وكيف سنتأكد أن التحديث اكتمل وأن التطبيق ما زال يعمل؟</p>
<p>أصدرت Oracle يوم <strong>17 نوفمبر 2026</strong> تحديث <strong>Critical Security Patch Update (CSPU)</strong>، وتضم النشرة <strong>655 تصحيحًا أمنيًا جديدًا</strong> عبر عائلات منتجات مختلفة، منها Oracle APEX وOracle REST Data Services.</p>
<p>هذا عدد التصحيحات، وليس عدد الثغرات الفريدة، ولا يعني أن كل بيئة تحتاج إلى تثبيت كل التصحيحات. تحديد المطلوب يبدأ بمطابقة المنتجات والإصدارات المستخدمة مع النشرة الرسمية. <a href="https://www.oracle.com/security-alerts/cspunov2026.html">نشرة Oracle لشهر نوفمبر</a></p>
<p>بالنسبة لفريق يعمل على APEX، الخطوة المفيدة هي مراجعة مكونات بيئة التشغيل وتحويل النتيجة إلى خطة تحديث واضحة.</p>
<h2>ما المقصود بـCSPU؟</h2>
<p>تقدم تحديثات CSPU تصحيحات مركزة لمشكلات أمنية ذات أولوية بين إصدارات CPU الربع سنوية. وتظل تحديثات CPU تراكمية، وتشمل تصحيحات CSPU السابقة.</p>
<p>البرنامجان متكاملان؛ لذلك من المفيد متابعة التنبيهات بين مواعيد التحديث الربع سنوي أيضًا. <a href="https://www.oracle.com/corporate/security-practices/assurance/vulnerability/security-fixing/">سياسة Oracle للإصلاحات الأمنية</a></p>
<p>وصول الرسالة لا يثبت أن بيئة بعينها تعرضت لاختراق. المطلوب هو تقييم انطباق التنبيه والتعامل مع التصحيحات المناسبة.</p>
<h2>حدّد مسؤولية التحديث أولًا</h2>
<p>قبل تحديد موعد الصيانة، حدّد من يدير كل جزء من النظام.</p>
<p>في البيئات التي يديرها العميل، تقع مسؤولية التخطيط والاختبار والتطبيق على الفريق المسؤول عن تشغيل البرامج. واستضافة تثبيت تديره بنفسك على جهاز افتراضي في OCI لا تنقل تلقائيًا مسؤولية تحديث التطبيق إلى Oracle؛ فالنموذج السحابي يتضمن مسؤوليات للعميل عن المنصات والتطبيقات التي ينشئها. <a href="https://docs.oracle.com/en-us/iaas/Content/cloud-adoption-framework/security.htm">نموذج المسؤولية المشتركة في OCI</a></p>
<p>أما الخدمات التي تديرها Oracle فتخضع لإجراءات الصيانة الخاصة بها. راجع نطاق الخدمة وإشعارات الصيانة، واستخدم قناة الدعم عند الحاجة إلى تأكيد حالة التحديث. <a href="https://www.oracle.com/security-alerts/#cloud">إرشادات التحديثات لخدمات Oracle Cloud</a></p>
<p>سجّل مالكًا واضحًا لكل من قاعدة البيانات وAPEX وORDS وبيئة Java عند استخدامها ونظام التشغيل، حتى لا يظل كل فريق منتظرًا أن يبدأ فريق آخر.</p>
<h2>حوّل النشرة إلى خطوات تنفيذ</h2>
<p>الخطوات التالية مقترح عملي لتنظيم عمل فريق APEX.</p>
<p><strong>1. احصر البيئة الفعلية.</strong> سجّل إصدارات المنتجات ومستويات التصحيح ونوع الاستضافة وطريقة الوصول والتطبيقات المعتمدة عليها. افصل بيانات الإنتاج عن بيئة الاختبار.</p>
<p><strong>2. طابق الحصر مع الوثائق.</strong> راجع الإصدارات المتأثرة ومصفوفات المخاطر ووثائق إتاحة التصحيحات المرتبطة بالنشرة. استخرج المتطلبات وخطوات التنفيذ من ملف README الخاص بالتصحيح المناسب. صورة المنشور أو رقم أحدث إصدار لا يكفيان لاختيار التصحيح.</p>
<p><strong>3. حدّد الأولوية وفق استخدامك.</strong> انظر إلى المكوّن المتأثر وإمكانية الوصول إليه وشروط الاستغلال الواردة في المصفوفة وأهمية الخدمة. اربط النتيجة بمسؤول وموعد، حتى تتحول المراجعة إلى عمل يمكن متابعته.</p>
<p><strong>4. جهّز الاستعادة قبل تعديل الإنتاج.</strong> تحقق من النسخ الاحتياطية وإجراءات الرجوع أو الاستعادة المناسبة للمنتج. اتفق على الحالات التي تستدعي إيقاف التغيير أو بدء الاستعادة، بالاستناد إلى تعليمات التصحيح.</p>
<p><strong>5. اختبر وظائف التطبيق المستخدمة فعلًا.</strong> في بيئة غير إنتاجية تمثل الاستخدام الحقيقي، راجع الدخول والخروج والصلاحيات والنماذج وتصدير التقارير ورفع الملفات والمهام المجدولة وتكاملات REST التي يعتمد عليها التطبيق.</p>
<p><strong>6. تحقّق بعد التطبيق.</strong> احتفظ بدليل مستوى التصحيح المثبت، وراجع السجلات، وأعد اختبار مسارات المستخدم المهمة بالحسابات المناسبة. نجاح تشغيل الخدمة خطوة مفيدة، لكنه لا يثبت وحده سلامة كل وظائف العمل.</p>
<p>هذا التركيز على الحصر وتحديد الأولوية والتطبيق والتحقق يتوافق أيضًا مع إرشادات NIST لإدارة التصحيحات على مستوى المؤسسة. <a href="https://csrc.nist.gov/pubs/sp/800/40/r4/final">دليل NIST SP 800-40 Rev. 4</a></p>
<h2>متى نعتبر التحديث مكتملًا؟</h2>
<p>سجل تغيير مختصر ينبغي أن يوضح:</p>
<ul>
<li>المكونات المستخدمة التي احتاجت إلى إجراء.</li>
<li>ما تم تثبيته وتاريخ التنفيذ.</li>
<li>اختبارات التطبيق التي نجحت.</li>
<li>المسؤول عن مراجعة النتيجة.</li>
<li>النقاط المتبقية، ومسؤول كل نقطة، وموعد متابعتها.</li>
</ul>
<p>وإذا اعتُبر أحد المكونات غير متأثر، وثّق سبب هذا الاستنتاج. عدم ظهور إصدار قديم غير مدعوم في قائمة الإصدارات المدعومة لا يكفي للحكم بأنه آمن.</p>
<p>الموعدان التاليان المعلنان هما <strong>15 ديسمبر 2026 لتحديث CSPU</strong> و<strong>19 يناير 2027 لتحديث CPU</strong>. أضفهما إلى تقويم المراجعة أثناء معالجة الإصدار الحالي. <a href="https://www.oracle.com/security-alerts/">جدول Oracle للتحديثات</a></p>
<p>تنظيم الصيانة الأمنية يبدأ عندما تنتهي كل رسالة بقرار قابل للتتبع وعمل موثّق. وفي تطبيقات APEX، يتطلب ذلك وضوح المسؤولية عن التطبيق وORDS وقاعدة البيانات وبيئة التشغيل التي تعتمد عليها الخدمة.</p>
]]></content:encoded></item><item><title><![CDATA[Preserve Session Drafts with Oracle APEX Collections]]></title><description><![CDATA[A multi-step form needs somewhere to hold rows while the user reviews them. My original LinkedIn post introduced APEX Collections for this job. The detail…]]></description><link>https://karimelgezawy.hashnode.dev/preserve-session-drafts-with-oracle-apex-collections</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/preserve-session-drafts-with-oracle-apex-collections</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Tue, 17 Nov 2026 11:15:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/d09dd5f7-56b3-498e-9551-ccd294acb787.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A multi-step form needs somewhere to hold rows while the user reviews them. My original LinkedIn post introduced APEX Collections for this job. The detail that matters in practice is the draft's lifecycle: creating, revisiting, editing, and finally submitting it.</p>
<p>Treat a collection as temporary APEX-managed session data. Its SQL interface is the database view <code>APEX_COLLECTIONS</code>; do not design around assumptions of purely browser memory or zero database work. Use persistent draft tables when a request must survive beyond its session or be reviewed by another user. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/about-using-collections.html">Oracle: using collections</a></p>
<h2>Initialize without resetting on refresh</h2>
<p>For a development demonstration, add a page process that initializes the following uniquely named collection. The sample uses synthetic products and assumes normal, sequential page requests in an active APEX application session.</p>
<pre><code class="language-sql">begin
    if not apex_collection.collection_exists('DEMO_CART_20261117') then
        apex_collection.create_collection(
            p_collection_name =&gt; 'DEMO_CART_20261117'
        );
        apex_collection.add_member(
            p_collection_name =&gt; 'DEMO_CART_20261117',
            p_c001 =&gt; 'Notebook',
            p_n001 =&gt; 2,
            p_n002 =&gt; 12.50
        );
        apex_collection.add_member(
            p_collection_name =&gt; 'DEMO_CART_20261117',
            p_c001 =&gt; 'Pen',
            p_n001 =&gt; 3,
            p_n002 =&gt; 2
        );
    end if;
end;
</code></pre>
<p><code>COLLECTION_EXISTS</code> checks the current user, session, and application. <code>CREATE_COLLECTION</code> normally raises an error if that collection already exists. This guard preserves the existing draft when the process is visited again. It is not a concurrency lock: coordinate simultaneous initialization requests in your application. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aeapi/COLLECTION_EXISTS-Function.html">Existence check</a>, <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/CREATE_COLLECTION-Procedure.html">creation API</a></p>
<p>Keep an explicit “Start again” action separate from routine rendering. Calling a truncate/reset operation on every render defeats the draft's purpose. Keep initialization separate from an “Add product” action, which needs its own duplicate-submission rules.</p>
<h2>Read typed attributes with meaningful aliases</h2>
<p>In a Classic Report, use:</p>
<pre><code class="language-sql">select seq_id,
       c001 as product_name,
       n001 as quantity,
       n002 as unit_price,
       n001 * n002 as line_total
from apex_collections
where collection_name = 'DEMO_CART_20261117'
order by seq_id;
</code></pre>
<p>The mapping is part of your application contract: <code>C001</code> means product name, <code>N001</code> quantity, and <code>N002</code> unit price. Document it in a small package when several pages share it. Keep numbers in numeric attributes and retain normal text escaping in reports. Oracle documents the typed attributes and collection query pattern. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/key-collections-concepts.html">Key concepts</a></p>
<p>For a newly initialized collection, the expected rows are:</p>
<pre><code class="language-text">SEQ_ID  PRODUCT_NAME  QUANTITY  UNIT_PRICE  LINE_TOTAL
1       Notebook     2         12.50       25.00
2       Pen          3          2.00        6.00
</code></pre>
<p>The total is 31.00; actual decimal formatting follows your report settings. Refreshing the page should retain those two rows rather than append another pair.</p>
<h2>Update one attribute without clearing its neighbours</h2>
<p>On an explicit development test action, change the first row's quantity:</p>
<pre><code class="language-sql">begin
    apex_collection.update_member_attribute(
        p_collection_name =&gt; 'DEMO_CART_20261117',
        p_seq             =&gt; 1,
        p_attr_number     =&gt; 1,
        p_number_value    =&gt; 4
    );
end;
</code></pre>
<p>The numeric overload changes <code>N001</code>; the product and unit price remain intact. The expected Notebook line total becomes 50.00 and the overall total 56.00. A missing member raises an error. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/UPDATE_MEMBER_ATTRIBUTE-Procedure-Signature-5.html">Numeric attribute update</a></p>
<p>This differs from <code>UPDATE_MEMBER</code>, which nullifies attributes you do not supply. That distinction can explain why changing a quantity unexpectedly erases a description or price. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/UPDATE_MEMBER-Procedure.html">Member replacement semantics</a></p>
<h2>Define the boundary of the draft</h2>
<p>Browser tabs sharing the same application session can reach the same named collection. For independent drafts, use a server-managed draft identifier and consistent ownership checks; a fixed collection name is not a per-tab isolation mechanism.</p>
<p>Do not assume <code>SEQ_ID</code> is a permanent business identifier. Deletion can leave gaps and resequencing can change IDs. For an editable grid, follow Oracle's guidance to store a stable row key in a collection attribute. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/RESEQUENCE_COLLECTION-Procedure.html">Sequence behaviour</a>, <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/key-collections-concepts.html">grid guidance</a></p>
<p>Before final submission, validate quantity ranges, product access, and current prices on the server. Save accepted data through a deliberate business transaction and clear the temporary draft only after the save succeeds. Test refreshes, two tabs, an expired session, missing rows, and a failed final save. These examples explain expected behaviour; they do not claim execution against an application or measured performance results.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7405717744706486272/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>النموذج الذي يتكوّن من عدة خطوات يحتاج مكانًا يحتفظ بالصفوف أثناء مراجعتها. في البوست الأصلي على LinkedIn، عرضت APEX Collections لهذا الاستخدام. التفصيلة المهمة عمليًا هي دورة حياة المسودة: إنشاؤها، والرجوع إليها، وتعديلها، ثم تقديمها نهائيًا.</p>
<p>تعامل مع Collection كبيانات مؤقتة تديرها APEX ضمن الجلسة. واجهة قراءتها بـSQL هي Database View اسمها <code>APEX_COLLECTIONS</code>؛ فلا تبنِ التصميم على افتراض أنها مجرد ذاكرة داخل المتصفح أو أنها لا تستهلك أي عمل في قاعدة البيانات. استخدم جداول مسودات دائمة لو الطلب لازم يستمر بعد الجلسة أو يراجعه مستخدم آخر. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/about-using-collections.html">Oracle: استخدام Collections</a></p>
<h2>ابدأ المسودة بدون تصفيرها عند التحديث</h2>
<p>في مثال للتطوير، أضف Page Process لإنشاء Collection بالاسم المميز التالي. المثال يستخدم منتجات افتراضية، ويفترض طلبات صفحات متتابعة بشكل عادي داخل جلسة تطبيق APEX فعّالة.</p>
<pre><code class="language-sql">begin
    if not apex_collection.collection_exists('DEMO_CART_20261117') then
        apex_collection.create_collection(
            p_collection_name =&gt; 'DEMO_CART_20261117'
        );
        apex_collection.add_member(
            p_collection_name =&gt; 'DEMO_CART_20261117',
            p_c001 =&gt; 'Notebook',
            p_n001 =&gt; 2,
            p_n002 =&gt; 12.50
        );
        apex_collection.add_member(
            p_collection_name =&gt; 'DEMO_CART_20261117',
            p_c001 =&gt; 'Pen',
            p_n001 =&gt; 3,
            p_n002 =&gt; 2
        );
    end if;
end;
</code></pre>
<p>تفحص <code>COLLECTION_EXISTS</code> المستخدم والجلسة والتطبيق الحاليين. و<code>CREATE_COLLECTION</code> ترفع خطأ عادةً لو نفس الـCollection موجودة بالفعل. الشرط بيحافظ على المسودة الموجودة عند زيارة العملية مرة ثانية. لكنه مش قفل للتزامن: نسّق طلبات الإنشاء المتزامنة داخل التطبيق. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aeapi/COLLECTION_EXISTS-Function.html">فحص الوجود</a>، <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/CREATE_COLLECTION-Procedure.html">توثيق الإنشاء</a></p>
<p>افصل إجراء «ابدأ من جديد» عن عرض الصفحة العادي. استدعاء عملية تصفير أو تفريغ عند كل عرض للصفحة بيضيّع الغرض من المسودة. وافصل الإنشاء الأولي عن إجراء «أضف منتجًا»، الذي يحتاج قواعد مستقلة لمنع تكرار التقديم.</p>
<h2>اقرأ الأعمدة بأنواعها وأسماء واضحة</h2>
<p>في Classic Report، استخدم:</p>
<pre><code class="language-sql">select seq_id,
       c001 as product_name,
       n001 as quantity,
       n002 as unit_price,
       n001 * n002 as line_total
from apex_collections
where collection_name = 'DEMO_CART_20261117'
order by seq_id;
</code></pre>
<p>معنى الأعمدة جزء من عقد التطبيق: <code>C001</code> اسم المنتج، و<code>N001</code> الكمية، و<code>N002</code> سعر الوحدة. وثّق الربط في Package صغيرة عندما تتشارك فيه عدة صفحات. احتفظ بالأرقام في الأعمدة الرقمية، وبالحماية المعتادة للنصوص عند عرض التقارير. توثّق Oracle أنواع الأعمدة ونمط قراءة Collection. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/key-collections-concepts.html">المفاهيم الأساسية</a></p>
<p>عند إنشاء Collection جديدة، الصفوف المتوقعة هي:</p>
<pre><code class="language-text">SEQ_ID  PRODUCT_NAME  QUANTITY  UNIT_PRICE  LINE_TOTAL
1       Notebook     2         12.50       25.00
2       Pen          3          2.00        6.00
</code></pre>
<p>الإجمالي 31.00؛ والتنسيق الفعلي للفواصل والأرقام يتبع إعدادات التقرير. تحديث الصفحة المفروض يحتفظ بالصفّين بدل إضافة نسخة ثانية منهما.</p>
<h2>عدّل قيمة واحدة بدون مسح القيم المجاورة</h2>
<p>في إجراء اختبار صريح داخل بيئة التطوير، غيّر كمية الصف الأول:</p>
<pre><code class="language-sql">begin
    apex_collection.update_member_attribute(
        p_collection_name =&gt; 'DEMO_CART_20261117',
        p_seq             =&gt; 1,
        p_attr_number     =&gt; 1,
        p_number_value    =&gt; 4
    );
end;
</code></pre>
<p>النسخة الرقمية من الدالة الإجرائية بتعدّل <code>N001</code>، بينما اسم المنتج وسعر الوحدة يفضلوا كما هم. إجمالي Notebook المتوقع يصبح 50.00، والإجمالي العام 56.00. ولو العضو المطلوب غير موجود يحصل خطأ. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/UPDATE_MEMBER_ATTRIBUTE-Procedure-Signature-5.html">تعديل العمود الرقمي</a></p>
<p>ده مختلف عن <code>UPDATE_MEMBER</code> التي تضع NULL في الأعمدة التي لم ترسل قيمها. الفرق ده ممكن يفسّر ليه تعديل الكمية أحيانًا يمسح الوصف أو السعر بدون قصد. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/UPDATE_MEMBER-Procedure.html">سلوك استبدال العضو</a></p>
<h2>حدّد حدود المسودة</h2>
<p>تبويبات المتصفح التي تتشارك نفس جلسة التطبيق يمكنها الوصول لنفس Collection المسماة. للمسودات المستقلة، استخدم معرّف مسودة يديره السيرفر مع تحقق ثابت من الملكية؛ اسم Collection ثابت مش وسيلة لعزل كل تبويب لوحده.</p>
<p>ما تعتبرش <code>SEQ_ID</code> معرّف عمل دائمًا. الحذف ممكن يترك فجوات، وإعادة الترقيم ممكن تغيّر الأرقام. وفي Editable Grid، اتبع إرشاد Oracle بتخزين مفتاح صف ثابت في أحد أعمدة Collection. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/RESEQUENCE_COLLECTION-Procedure.html">سلوك الترقيم</a>، <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/key-collections-concepts.html">إرشاد الـGrid</a></p>
<p>قبل التقديم النهائي، تحقّق على السيرفر من نطاق الكمية وصلاحية الوصول للمنتجات والأسعار الحالية. احفظ البيانات المقبولة من خلال معاملة عمل واضحة، ولا تفرّغ المسودة المؤقتة إلا بعد نجاح الحفظ. اختبر تحديث الصفحة، وتبويبين، وانتهاء الجلسة، والصفوف المفقودة، وفشل الحفظ النهائي. الأمثلة بتشرح السلوك المتوقع، ولا تدّعي تنفيذًا على تطبيق أو نتائج أداء مقاسة.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7405717744706486272/">البوست الأصلي على LinkedIn</a></p>
]]></content:encoded></item><item><title><![CDATA[Oracle APEX Custom Authentication: Check Username Rules Before Password Code]]></title><description><![CDATA[My earlier LinkedIn post explored a custom authentication function in Oracle APEX. Before implementing the password comparison, there is another design…]]></description><link>https://karimelgezawy.hashnode.dev/oracle-apex-custom-authentication-check-username-rules-before-password-code</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/oracle-apex-custom-authentication-check-username-rules-before-password-code</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Mon, 16 Nov 2026 07:34:43 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/82ab83f2-02a0-4aea-8228-7dffc033be66.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My earlier LinkedIn post explored a custom authentication function in Oracle APEX. Before implementing the password comparison, there is another design decision worth checking: what exactly identifies an account?</p>
<p>If <code>Alice</code>, <code>ALICE</code>, and <code>Alice</code> can reach the same account in one component but different accounts in another, even a correct password verifier can sit behind an inconsistent identity model. This walkthrough uses synthetic data to expose that problem before changing a login flow.</p>
<h2>Separate the login flow from the credential verifier</h2>
<p>An authentication scheme establishes identity; APEX then exposes the signed-in identity through <code>APP_USER</code>. Prefer an available preconfigured scheme when it fits your identity provider and operational requirements. Custom authentication means owning the integration and its failure paths, not only writing a Boolean function. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/understanding-authentication.html">Oracle: authentication concepts</a></p>
<p>For a username/password scheme, <code>APEX_AUTHENTICATION.LOGIN</code> invokes the scheme's credential check, then handles successful post-authentication processing, logging, and redirection. Its <code>p_uppercase_username</code> parameter defaults to <code>TRUE</code>. That default matters when the account repository distinguishes letter case. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/aeapi/LOGIN-Procedure.html">Oracle: LOGIN API</a></p>
<h2>Run a normalization preflight with disposable data</h2>
<p>Suppose a proposed policy treats usernames as case-insensitive and ignores surrounding spaces. This query demonstrates the resulting collisions without creating or changing a table:</p>
<pre><code class="language-sql">with demo_users (user_id, login_name) as (
    select 101, 'Alice' from dual union all
    select 102, 'ALICE' from dual union all
    select 103, ' bob ' from dual union all
    select 104, 'BOB'   from dual union all
    select 105, 'Carla' from dual
)
select upper(trim(login_name)) as login_key,
       count(*) as matching_accounts
from demo_users
group by upper(trim(login_name))
having count(*) &gt; 1
order by login_key;
</code></pre>
<p>Expected rows for these ASCII examples:</p>
<pre><code class="language-text">LOGIN_KEY  MATCHING_ACCOUNTS
ALICE      2
BOB        2
</code></pre>
<p>Those are two different account records competing for each proposed key. Resolve the ownership and migration policy before enforcing uniqueness. Do not arbitrarily select the first matching record.</p>
<p>This is a design probe, not a universal username rule. A tenant-specific identity may need a composite key including the tenant. International names require an explicit policy for Unicode, collation, and normalization; this ASCII demonstration does not settle those rules. Apply your chosen policy consistently to registration, lookup, recovery, and account linking.</p>
<h2>Make APEX's case handling explicit</h2>
<p>If your reviewed identity policy deliberately preserves case, an illustrative login-page process with existing username and password items can call:</p>
<pre><code class="language-sql">begin
    apex_authentication.login(
        p_username           =&gt; :P9999_USERNAME,
        p_password           =&gt; :P9999_PASSWORD,
        p_uppercase_username =&gt; false
    );
end;
</code></pre>
<p>Adapt the item names and review the active authentication scheme before use. Put this call in the login process; the scheme's verifier supplies its credential decision. Changing the parameter alone does not migrate existing account keys or fix a conflicting lookup query. Never uppercase or trim the password to mirror a username rule.</p>
<h2>Give password storage its own contract</h2>
<p>A single SHA-512 hash, even with concatenated account fields, is not a modern adaptive password-storage design. Use a maintained verifier implementing a suitable password-hashing scheme such as Argon2id, with per-password salts and reviewed work factors. Retain the algorithm and parameters needed for verification and upgrades. <a href="https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html">OWASP: password storage</a></p>
<p>Define a generic user-facing failure response, controlled login throttling, recovery behavior, and appropriate multifactor authentication. Keep detailed diagnostics protected and exclude credentials from logs. <a href="https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html">OWASP: authentication guidance</a></p>
<p>Before rollout, test valid credentials, wrong passwords, unknown and disabled accounts, case variants, whitespace, duplicate normalized names, and verifier failure. Check the resulting <code>APP_USER</code> and account mapping. The examples above illustrate design and expected results; they do not implement a complete credential service or assert a measured performance improvement.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7401531916522393600/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>تناولت في بوست سابق على LinkedIn دالة تسجيل دخول مخصصة في Oracle APEX. قبل تنفيذ مقارنة كلمة المرور، فيه قرار تصميمي آخر يستحق المراجعة: إيه بالضبط اللي بيحدد هوية الحساب؟</p>
<p>لو <code>Alice</code> و<code>ALICE</code> و<code>Alice</code> بيوصلوا لنفس الحساب في جزء من النظام، ولحسابات مختلفة في جزء آخر، ممكن يبقى عندك تحقق صحيح من كلمة المرور فوق نموذج هوية غير متسق. المثال التالي يستخدم بيانات افتراضية لكشف المشكلة قبل تغيير مسار تسجيل الدخول.</p>
<h2>افصل مسار الدخول عن التحقق من بيانات الاعتماد</h2>
<p>Authentication Scheme بتحدد الهوية، وبعدها APEX تتيح هوية المستخدم المسجّل دخوله من خلال <code>APP_USER</code>. فضّل Scheme جاهزة متاحة عندما تناسب مزوّد الهوية ومتطلبات التشغيل. اختيار Custom Authentication معناه تحمّل مسؤولية التكامل ومسارات الفشل، مش مجرد كتابة دالة ترجع Boolean. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/understanding-authentication.html">Oracle: مفاهيم تسجيل الدخول</a></p>
<p>في Scheme تستخدم اسم المستخدم وكلمة المرور، تستدعي <code>APEX_AUTHENTICATION.LOGIN</code> التحقق من بيانات الاعتماد، ثم تدير معالجة ما بعد نجاح الدخول والتسجيل وإعادة التوجيه. القيمة الافتراضية للمعامل <code>p_uppercase_username</code> هي <code>TRUE</code>. التفصيلة دي مهمة لو مستودع الحسابات بيفرّق بين الحروف الكبيرة والصغيرة. <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/aeapi/LOGIN-Procedure.html">Oracle: توثيق LOGIN</a></p>
<h2>اختبر قواعد توحيد الأسماء ببيانات مؤقتة</h2>
<p>افترض إن السياسة المقترحة لا تفرّق بين حالة الحروف في اسم المستخدم وتتجاهل المسافات المحيطة. الاستعلام التالي يوضح التعارضات الناتجة، بدون إنشاء جدول أو تعديل بيانات:</p>
<pre><code class="language-sql">with demo_users (user_id, login_name) as (
    select 101, 'Alice' from dual union all
    select 102, 'ALICE' from dual union all
    select 103, ' bob ' from dual union all
    select 104, 'BOB'   from dual union all
    select 105, 'Carla' from dual
)
select upper(trim(login_name)) as login_key,
       count(*) as matching_accounts
from demo_users
group by upper(trim(login_name))
having count(*) &gt; 1
order by login_key;
</code></pre>
<p>الصفوف المتوقعة لهذه الأمثلة بحروف ASCII:</p>
<pre><code class="language-text">LOGIN_KEY  MATCHING_ACCOUNTS
ALICE      2
BOB        2
</code></pre>
<p>النتيجة بتقول إن فيه سجلّين مختلفين بيتنافسوا على كل مفتاح مقترح. احسم ملكية الحسابات وسياسة الانتقال قبل فرض عدم التكرار. ما تختارش أول سجل مطابق بشكل عشوائي.</p>
<p>ده اختبار لفكرة تصميم، مش قاعدة عامة لكل أسماء المستخدمين. في نظام متعدد الجهات، ممكن تحتاج مفتاحًا مركبًا يتضمن الجهة. والأسماء الدولية تحتاج سياسة صريحة لـUnicode وقواعد المقارنة وتوحيد النصوص؛ مثال ASCII ده ما بيحسمش القواعد دي. طبّق السياسة المختارة باتساق أثناء إنشاء الحساب والبحث عنه واستعادته وربط الحسابات.</p>
<h2>حدّد التعامل مع حالة الحروف صراحةً</h2>
<p>لو سياسة الهوية التي راجعتها تقصد الحفاظ على حالة الحروف، ممكن لعملية صفحة تسجيل الدخول التي تحتوي بالفعل على عناصر الاسم وكلمة المرور استخدام المثال التالي:</p>
<pre><code class="language-sql">begin
    apex_authentication.login(
        p_username           =&gt; :P9999_USERNAME,
        p_password           =&gt; :P9999_PASSWORD,
        p_uppercase_username =&gt; false
    );
end;
</code></pre>
<p>عدّل أسماء العناصر وراجع Authentication Scheme الفعّالة قبل الاستخدام. مكان الاستدعاء هو عملية تسجيل الدخول؛ ودالة التحقق في الـScheme تقدم قرار صحة بيانات الاعتماد. تغيير المعامل وحده لا ينقل مفاتيح الحسابات القديمة ولا يصلح استعلام بحث يستخدم قواعد متعارضة. ولا تحوّل كلمة المرور لحروف كبيرة أو تحذف مسافاتها لمجرد تطبيق نفس قاعدة اسم المستخدم.</p>
<h2>ضع عقدًا مستقلًا لتخزين كلمات المرور</h2>
<p>استخدام SHA-512 مرة واحدة، حتى مع دمج بعض بيانات الحساب، لا يساوي تصميمًا حديثًا لتخزين كلمات المرور بخوارزمية قابلة لضبط كلفة الحساب. استخدم مكوّن تحقق مدعومًا يطبق خوارزمية مناسبة مثل Argon2id، مع Salt مستقل لكل كلمة مرور ومعاملات كلفة تمت مراجعتها. احتفظ ببيانات الخوارزمية ومعاملاتها اللازمة للتحقق والترقية. <a href="https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html">OWASP: تخزين كلمات المرور</a></p>
<p>حدّد رسالة فشل عامة للمستخدم، وضبطًا لمحاولات الدخول، وسلوك استعادة الحساب، والمصادقة متعددة العوامل المناسبة. احمِ تفاصيل التشخيص ولا تسجّل بيانات الاعتماد في الـLogs. <a href="https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html">OWASP: إرشادات تسجيل الدخول</a></p>
<p>قبل الإطلاق، اختبر البيانات الصحيحة، وكلمة المرور الخاطئة، والحساب غير الموجود أو الموقوف، واختلاف حالة الحروف، والمسافات، وتكرار الأسماء بعد توحيدها، وتعطل مكوّن التحقق. راجع قيمة <code>APP_USER</code> الناتجة وربطها بالحساب. الأمثلة السابقة بتوضح التصميم والنتائج المتوقعة، ولا تنفّذ خدمة تحقق متكاملة أو تدّعي تحسنًا مقاسًا في الأداء.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7401531916522393600/">البوست الأصلي على LinkedIn</a></p>
]]></content:encoded></item><item><title><![CDATA[Model Leave Approvals with Oracle APEX Human Tasks]]></title><description><![CDATA[My original LinkedIn post used a leave request to explain approval tasks in Oracle APEX. A useful starting point is to separate three things: the request…]]></description><link>https://karimelgezawy.hashnode.dev/model-leave-approvals-with-oracle-apex-human-tasks</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/model-leave-approvals-with-oracle-apex-human-tasks</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Sun, 15 Nov 2026 07:05:49 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/656f0ccb-af53-4d59-99e8-e3614a03b95b.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My original LinkedIn post used a leave request to explain approval tasks in Oracle APEX. A useful starting point is to separate three things: the request record, the human decision, and the process that connects several steps.</p>
<p>A Task Definition describes a reusable human task. Each submitted request can create its own task instance. A broader workflow can coordinate additional activities; a single approval does not require you to design a whole workflow first.</p>
<h2>Define the decision and its participants</h2>
<p>In Shared Components, open Task Definitions under Workflows and Automations. For a development example, create an Approval Task with static ID <code>LEAVE_APPROVAL</code>. An Action Task suits work that needs completion without an approval outcome. Configure a task details page so the decision maker can inspect the request. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-task-definitions.html">Oracle creation guide</a></p>
<p>Choose participants deliberately. Potential owners can claim work; an actual owner handles the assigned task. Business administrators have separate management responsibilities. Resolve the appropriate manager from application rules rather than embedding a person's username throughout your pages. APEX supports dynamic user participants and authorization schemes. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/about-task-definitions.html">Task Definition concepts</a></p>
<h2>Create one task for one request</h2>
<p>The declarative route is a Human Task - Create page process. Select the definition, map the Details Primary Key Item to the saved request ID, and capture the returned task ID in a page item. Sequence it after successful validation and saving of the request. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-tasks-from-task-definitions.html">Page-process configuration</a></p>
<p>For a PL/SQL integration, this illustrates the equivalent API call within an authenticated APEX page process. It assumes the definition, participants, and page items already exist, with no required task parameters:</p>
<pre><code class="language-sql">begin
    :P10_TASK_ID := apex_human_task.create_task(
        p_task_def_static_id     =&gt; 'LEAVE_APPROVAL',
        p_subject                =&gt; 'Leave request ' || :P10_REQUEST_ID,
        p_initiator              =&gt; :APP_USER,
        p_initiator_can_complete =&gt; false,
        p_detail_pk              =&gt; :P10_REQUEST_ID
    );
end;
</code></pre>
<p>The function returns the task ID. Initial assignment depends on the potential owners: one owner gives an Assigned task; several give an Unassigned task that can be claimed. No potential owner raises an error. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_HUMAN_TASK.CREATE_TASK-Function.html">CREATE_TASK API</a></p>
<h2>Keep the business outcome consistent</h2>
<p>Retain the link between the business request and task ID. Before creating a task, check on the server that the user may submit that request and that another submission has not already created its task. Make duplicate prevention part of the transaction design.</p>
<p>Explicitly implement the approval outcome in your business layer: completing a task alone does not define every update your leave system needs. Configure notifications and exception handling, and test with distinct requester, manager, and unrelated-user accounts. Cover rejection, duplicate submission, missing approvers, and failed business updates. Keep task state and business-request status separate in your design and reconcile failures visibly.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7451510112554295296/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>استخدمت في البوست الأصلي على LinkedIn مثال طلب الإجازة لشرح مهام الموافقات في Oracle APEX. البداية المفيدة هي الفصل بين ثلاث حاجات: سجل الطلب، والقرار البشري، والعملية التي تربط عدة خطوات معًا.</p>
<p>تصف Task Definition مهمة بشرية قابلة لإعادة الاستخدام. ويمكن لكل طلب يتم تقديمه إنشاء نسخة مستقلة من المهمة. أما Workflow أوسع فيقدر ينسّق أنشطة إضافية؛ والموافقة الواحدة لا تستلزم تصميم Workflow كامل من البداية.</p>
<h2>حدّد القرار والمشاركين فيه</h2>
<p>من Shared Components، افتح Task Definitions تحت Workflows and Automations. في مثال للتطوير، أنشئ Approval Task بمعرّف ثابت <code>LEAVE_APPROVAL</code>. أما Action Task فتناسب العمل المطلوب إتمامه بدون نتيجة موافقة أو رفض. جهّز صفحة تفاصيل المهمة حتى يستطيع صاحب القرار مراجعة الطلب. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-task-definitions.html">دليل Oracle للإنشاء</a></p>
<p>اختَر المشاركين بعناية. يستطيع Potential Owners استلام العمل المتاح، ويتعامل Actual Owner مع المهمة المسندة إليه. ولـBusiness Administrators مسؤوليات إدارية مستقلة. حدّد المدير المناسب من قواعد التطبيق بدل تكرار اسم مستخدم معين داخل الصفحات. تدعم APEX تحديد المشاركين ديناميكيًا واستخدام Authorization Schemes. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/about-task-definitions.html">مفاهيم Task Definition</a></p>
<h2>أنشئ مهمة واحدة لكل طلب</h2>
<p>المسار التصريحي هو Page Process من نوع Human Task - Create. اختَر التعريف، واربط Details Primary Key Item بمعرّف الطلب المحفوظ، واحفظ معرّف المهمة الناتج في Page Item. رتّب العملية بعد نجاح التحقق وحفظ الطلب. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-tasks-from-task-definitions.html">إعداد عملية الصفحة</a></p>
<p>وعند التكامل باستخدام PL/SQL، يوضّح المثال التالي استدعاء الـAPI المكافئ داخل عملية صفحة APEX لمستخدم مسجّل دخوله. يفترض وجود التعريف والمشاركين وعناصر الصفحة، وعدم وجود Task Parameters إلزامية:</p>
<pre><code class="language-sql">begin
    :P10_TASK_ID := apex_human_task.create_task(
        p_task_def_static_id     =&gt; 'LEAVE_APPROVAL',
        p_subject                =&gt; 'Leave request ' || :P10_REQUEST_ID,
        p_initiator              =&gt; :APP_USER,
        p_initiator_can_complete =&gt; false,
        p_detail_pk              =&gt; :P10_REQUEST_ID
    );
end;
</code></pre>
<p>ترجع الدالة معرّف المهمة. ويتوقف الإسناد الأولي على Potential Owners: وجود شخص واحد ينشئ مهمة Assigned، ووجود أكثر من شخص ينشئ مهمة Unassigned يمكن استلامها. وعدم وجود مسؤول محتمل يسبب خطأ. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_HUMAN_TASK.CREATE_TASK-Function.html">توثيق CREATE_TASK</a></p>
<h2>حافظ على اتساق نتيجة العمل</h2>
<p>احتفظ بالربط بين طلب العمل ومعرّف المهمة. قبل إنشاء المهمة، تحقّق على السيرفر من صلاحية المستخدم لتقديم الطلب ومن عدم إنشاء مهمة له بالفعل بسبب تقديم سابق. اجعل منع التكرار جزءًا من تصميم المعاملة.</p>
<p>نفّذ أثر الموافقة صراحةً في طبقة قواعد العمل: إتمام المهمة وحده لا يحدد كل تحديث يحتاجه نظام الإجازات. اضبط التنبيهات ومعالجة الاستثناءات، واختبر بحسابات منفصلة لمقدّم الطلب والمدير ومستخدم غير مختص. اختبر الرفض، وتكرار التقديم، وغياب المسؤولين، وفشل تحديث بيانات العمل. افصل بين حالة المهمة وحالة طلب العمل في التصميم، واجعل معالجة حالات الفشل واضحة للمستخدم المختص.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7451510112554295296/">البوست الأصلي على LinkedIn</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Build a Refreshable Order Summary with Oracle APEX Dynamic Content]]></title><description><![CDATA[A purchase-order summary can need a layout that follows the business process. My original LinkedIn post used Oracle APEX Dynamic Content to combine a…]]></description><link>https://karimelgezawy.hashnode.dev/build-a-refreshable-order-summary-with-oracle-apex-dynamic-content</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/build-a-refreshable-order-summary-with-oracle-apex-dynamic-content</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Sat, 14 Nov 2026 07:11:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/a9b98c2e-ae16-44df-81dd-a0f81835d274.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A purchase-order summary can need a layout that follows the business process. My original LinkedIn post used Oracle APEX Dynamic Content to combine a selected order's details with custom HTML. This walkthrough starts with a small summary showing customer, total, and status.</p>
<h2>Return HTML as a CLOB</h2>
<p>On a development page, add a Select List named <code>P10_ORDER_ID</code> with values <code>1001</code> and <code>1002</code>. Create a <strong>Dynamic Content</strong> region, set its Static ID to <code>order_summary</code>, and use a PL/SQL function body returning a CLOB as its source. Match the item name to your actual page if you use another page number.</p>
<p>The region returns its constructed HTML to APEX. Oracle describes the CLOB source and CSS-class approach in its Dynamic Content guide. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/dynamically-formatting-data.html">Dynamic Content</a></p>
<p>The example query uses two synthetic rows from <code>DUAL</code>. Paste this function body into the region source.</p>
<pre><code class="language-sql">declare
    l_customer varchar2(200);
    l_total    number;
    l_status   varchar2(30);
begin
    select customer_name, order_total, order_status
      into l_customer, l_total, l_status
      from (
          select '1001' as order_id,
                 'Sample &lt;Customer&gt;' as customer_name,
                 125.50 as order_total,
                 'Ready' as order_status
            from dual
          union all
          select '1002', 'Second Customer', 78, 'In review'
            from dual
      )
     where order_id = :P10_ORDER_ID;

    return to_clob(
        '&lt;article class="order-summary"&gt;&lt;h3&gt;Order summary&lt;/h3&gt;&lt;dl&gt;'
    )
        || '&lt;dt&gt;Customer&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(l_customer) || '&lt;/dd&gt;'
        || '&lt;dt&gt;Total&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(to_char(
               l_total, 'FM999990D00',
               'NLS_NUMERIC_CHARACTERS=''.,'''
           )) || '&lt;/dd&gt;'
        || '&lt;dt&gt;Status&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(l_status) || '&lt;/dd&gt;'
        || '&lt;/dl&gt;&lt;/article&gt;';
exception
    when no_data_found then
        return to_clob('&lt;p&gt;Select an available demo order.&lt;/p&gt;');
end;
</code></pre>
<p>The customer name deliberately contains angle brackets so you can check that they appear as text. Values inserted into HTML text nodes pass through <code>APEX_ESCAPE.HTML</code>. Keep attribute and URL handling specific to their own output contexts when extending the markup. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/HTML-Function.html">HTML escaping</a></p>
<h2>Send the selected value when refreshing</h2>
<p>Add <code>P10_ORDER_ID</code> to the region's <strong>Page Items to Submit</strong> property, without a colon. Create a Dynamic Action on the item's Change event, with a Refresh action targeting the summary region. This sends the current selection to the server during the refresh request. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/configure-items-submit-and-return.html">Items to submit</a></p>
<h2>Style and check the summary</h2>
<p>Place these rules in the page's Inline CSS or the application's stylesheet.</p>
<pre><code class="language-css">#order_summary .order-summary {
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
}
#order_summary .order-summary dl {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr);
  gap: 0.5rem 1rem;
}
#order_summary .order-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
</code></pre>
<p>Switch between both demo orders and verify that the customer, total, and status change together. Check the empty-selection message, narrow screens, keyboard operation, and an Arabic page direction. Keep the status readable as text.</p>
<p>When replacing the synthetic rows with application data, apply row access rules in the query and authorize access to the region. Use translated text messages for the headings and labels in a multilingual application. Review the rendered HTML after each change to the data or layout.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7516717117732401154/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>ملخص طلب الشراء قد يحتاج تصميمًا يناسب إجراءات العمل. بوستي الأصلي على LinkedIn استخدم Dynamic Content في Oracle APEX لدمج بيانات الطلب المختار مع HTML مخصص. الشرح التالي يبدأ بملخص صغير يعرض العميل والإجمالي والحالة.</p>
<h2>أرجع HTML في قيمة CLOB</h2>
<p>في صفحة تطوير، أضف Select List باسم <code>P10_ORDER_ID</code> بقيمتي <code>1001</code> و<code>1002</code>. أنشئ منطقة <strong>Dynamic Content</strong> وحدّد Static ID بقيمة <code>order_summary</code>، واستخدم PL/SQL Function Body returning a CLOB كمصدر. لو رقم صفحتك مختلف، طابق اسم العنصر مع الصفحة الفعلية.</p>
<p>المنطقة ترجع HTML الذي كوّنته إلى APEX. يوضح توثيق Oracle مصدر CLOB واستخدام CSS Classes مع المنطقة. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/dynamically-formatting-data.html">Dynamic Content</a></p>
<p>الاستعلام في المثال يستخدم صفّين افتراضيين من <code>DUAL</code>. ضع جسم الدالة التالي في مصدر المنطقة.</p>
<pre><code class="language-sql">declare
    l_customer varchar2(200);
    l_total    number;
    l_status   varchar2(30);
begin
    select customer_name, order_total, order_status
      into l_customer, l_total, l_status
      from (
          select '1001' as order_id,
                 'Sample &lt;Customer&gt;' as customer_name,
                 125.50 as order_total,
                 'Ready' as order_status
            from dual
          union all
          select '1002', 'Second Customer', 78, 'In review'
            from dual
      )
     where order_id = :P10_ORDER_ID;

    return to_clob(
        '&lt;article class="order-summary"&gt;&lt;h3&gt;Order summary&lt;/h3&gt;&lt;dl&gt;'
    )
        || '&lt;dt&gt;Customer&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(l_customer) || '&lt;/dd&gt;'
        || '&lt;dt&gt;Total&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(to_char(
               l_total, 'FM999990D00',
               'NLS_NUMERIC_CHARACTERS=''.,'''
           )) || '&lt;/dd&gt;'
        || '&lt;dt&gt;Status&lt;/dt&gt;&lt;dd&gt;'
        || apex_escape.html(l_status) || '&lt;/dd&gt;'
        || '&lt;/dl&gt;&lt;/article&gt;';
exception
    when no_data_found then
        return to_clob('&lt;p&gt;Select an available demo order.&lt;/p&gt;');
end;
</code></pre>
<p>اسم العميل يحتوي عمدًا على علامات زاوية لتتأكد أنها تظهر كنص. القيم التي تدخل في مواضع النص داخل HTML تمر عبر <code>APEX_ESCAPE.HTML</code>. عند توسيع التصميم، عالج خصائص HTML والروابط بما يناسب سياق كل منها. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/HTML-Function.html">حماية النصوص داخل HTML</a></p>
<h2>أرسل القيمة المختارة عند التحديث</h2>
<p>أضف <code>P10_ORDER_ID</code> إلى خاصية <strong>Page Items to Submit</strong> في المنطقة، بدون نقطتين قبل الاسم. أنشئ Dynamic Action على حدث Change للعنصر، وأضف إجراء Refresh يستهدف منطقة الملخص. الإعداد ده يرسل الاختيار الحالي إلى السيرفر أثناء طلب التحديث. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/apxdc/configure-items-submit-and-return.html">العناصر المطلوب إرسالها</a></p>
<h2>نسّق الملخص واختبره</h2>
<p>ضع القواعد التالية في Inline CSS للصفحة أو في ملف CSS الخاص بالتطبيق.</p>
<pre><code class="language-css">#order_summary .order-summary {
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
}
#order_summary .order-summary dl {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr);
  gap: 0.5rem 1rem;
}
#order_summary .order-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
</code></pre>
<p>بدّل بين الطلبين وتأكد أن العميل والإجمالي والحالة يتغيروا معًا. راجع رسالة الاختيار الفارغ، والشاشات الصغيرة، واستخدام الكيبورد، واتجاه الصفحة العربية. احتفظ بالحالة مكتوبة كنص واضح.</p>
<p>عند استبدال الصفوف الافتراضية ببيانات التطبيق، طبّق قواعد الوصول للصفوف داخل الاستعلام وصلاحية الوصول للمنطقة. استخدم Text Messages مترجمة للعناوين والتسميات في التطبيق متعدد اللغات. راجع HTML الناتج بعد كل تغيير في البيانات أو التصميم.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7516717117732401154/">البوست الأصلي على LinkedIn</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Synchronize Oracle APEX Translations with a Reviewed Seed and Publish Workflow]]></title><description><![CDATA[My LinkedIn post explored using APEX Automations to keep translations synchronized during development. A repeatable workflow has three stages: collect…]]></description><link>https://karimelgezawy.hashnode.dev/synchronize-oracle-apex-translations-with-a-reviewed-seed-and-publish-workflow</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/synchronize-oracle-apex-translations-with-a-reviewed-seed-and-publish-workflow</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Fri, 13 Nov 2026 07:20:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/4ce30160-b5b3-4e2a-8305-4dd06f90afa7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My LinkedIn post explored using APEX Automations to keep translations synchronized during development. A repeatable workflow has three stages: collect changed text, review the translated strings, and publish the updated language version.</p>
<h2>Prepare an application-based translation</h2>
<p>For an application using the Application-Based translation method, define its target language mapping in Shared Components → Globalization → Application Translations. The mapping and workspace context need to exist before using the APIs below. Oracle documents the complete translation workflow. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-an-application-based-translation.html">Application-based translations</a></p>
<p>Use the development application ID and language code that you have selected. The ID <code>12345</code> and language <code>ar</code> in these examples are illustrative. Execute each stage separately in the correct APEX workspace context.</p>
<h2>Seed the changed text</h2>
<p>Seeding updates the translation repository with translatable strings from the primary application. After a page title, item label, or other translatable component changes, seed the relevant language mapping.</p>
<pre><code class="language-sql">begin
    apex_lang.seed_translations(
        p_application_id =&gt; 12345,
        p_language       =&gt; 'ar'
    );
    commit;
end;
</code></pre>
<p>Export the changed strings to XLIFF, update the target translations, and apply the reviewed file. Existing translation work and newly introduced strings need review before publishing. The API reference describes the repository synchronization performed by this call. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/SEED_TRANSLATIONS-Procedure.html">SEED_TRANSLATIONS</a></p>
<h2>Publish the reviewed language version</h2>
<p>After applying the translation changes, publish the same primary application and language mapping.</p>
<pre><code class="language-sql">begin
    apex_lang.publish_application(
        p_application_id =&gt; 12345,
        p_language       =&gt; 'ar'
    );
    commit;
end;
</code></pre>
<p>Publishing builds the underlying translated application by combining the primary application's definition with the repository's translated strings. Run the application in the target language and inspect the changed pages. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/PUBLISH_APPLICATION-Procedure.html">PUBLISH_APPLICATION</a></p>
<h2>Automate the development preparation</h2>
<p>An APEX Automation can run a seeding action after your development workflow identifies an approved change. Keep the application and language explicit, restrict who can initiate synchronization, and record the stage, start time, duration, and outcome. Use the Automation Execution Log to inspect failures. Test an on-demand run before enabling a schedule. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-an-automation.html">Creating an Automation</a></p>
<p>Keep publishing behind a separate reviewed release action. For the acceptance check, change one label, seed it, apply its translation, publish, and confirm that the target-language page displays the expected text. Also check an untranslated string, the selected language, and Arabic direction when Arabic is the target.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7456820271790952448/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>بوستي على LinkedIn كان عن استخدام APEX Automations للحفاظ على تزامن الترجمات أثناء التطوير. مسار العمل القابل للتكرار له ثلاث مراحل: تجميع النصوص المتغيرة، ومراجعة الترجمة، ونشر نسخة اللغة بعد تحديثها.</p>
<h2>جهّز ترجمة التطبيق</h2>
<p>للتطبيق الذي يستخدم طريقة Application-Based، عرّف ربط اللغة المطلوبة من Shared Components → Globalization → Application Translations. الربط وسياق الـWorkspace لازم يكونوا موجودين قبل استخدام الـAPIs التالية. توضح Oracle مسار الترجمة كاملًا. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-an-application-based-translation.html">ترجمة التطبيق</a></p>
<p>استخدم معرّف تطبيق التطوير وكود اللغة اللذين اخترتهما. المعرّف <code>12345</code> واللغة <code>ar</code> في الأمثلة للتوضيح. نفّذ كل مرحلة بشكل مستقل داخل سياق الـWorkspace الصحيح.</p>
<h2>اجمع النصوص المتغيرة</h2>
<p>عملية Seeding تحدّث مستودع الترجمة بالنصوص القابلة للترجمة من التطبيق الأساسي. بعد تغيير عنوان صفحة أو اسم عنصر أو مكوّن آخر قابل للترجمة، شغّلها لربط اللغة المطلوب.</p>
<pre><code class="language-sql">begin
    apex_lang.seed_translations(
        p_application_id =&gt; 12345,
        p_language       =&gt; 'ar'
    );
    commit;
end;
</code></pre>
<p>صدّر النصوص المتغيرة إلى XLIFF، وحدّث النصوص المترجمة، وطبّق الملف بعد مراجعته. راجع عمل الترجمة الموجود والنصوص الجديدة قبل النشر. يوضّح مرجع الـAPI كيفية مزامنة المستودع التي ينفذها الاستدعاء. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/SEED_TRANSLATIONS-Procedure.html">SEED_TRANSLATIONS</a></p>
<h2>انشر نسخة اللغة بعد المراجعة</h2>
<p>بعد تطبيق تغييرات الترجمة، انشر التطبيق الأساسي نفسه مع ربط اللغة المطلوب.</p>
<pre><code class="language-sql">begin
    apex_lang.publish_application(
        p_application_id =&gt; 12345,
        p_language       =&gt; 'ar'
    );
    commit;
end;
</code></pre>
<p>النشر يبني نسخة التطبيق المترجمة بدمج تعريف التطبيق الأساسي مع النصوص المترجمة في المستودع. شغّل التطبيق باللغة المستهدفة وراجع الصفحات المتغيرة. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/PUBLISH_APPLICATION-Procedure.html">PUBLISH_APPLICATION</a></p>
<h2>أتمت تجهيز الترجمة في التطوير</h2>
<p>APEX Automation تقدر تشغّل إجراء Seeding بعد أن يحدّد مسار التطوير تغييرًا معتمدًا للمزامنة. حدّد التطبيق واللغة بوضوح، واضبط صلاحية تشغيل المزامنة، وسجّل المرحلة ووقت البداية والمدة والنتيجة. استخدم Automation Execution Log لفحص الأخطاء. اختبر التشغيل عند الطلب قبل تفعيل الجدول. <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/htmdb/creating-an-automation.html">إنشاء Automation</a></p>
<p>اربط النشر بإجراء إصدار منفصل بعد المراجعة. لاختبار القبول، غيّر اسم عنصر واحد، وشغّل Seeding، وطبّق ترجمته، ثم انشر وتأكد من ظهور النص المتوقع في صفحة اللغة المستهدفة. راجع أيضًا نصًا لم يُترجم، واللغة المحددة، واتجاه الواجهة عند استهداف العربية.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7456820271790952448/">البوست الأصلي على LinkedIn</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Build a Word Template with SQL Data Using APEX Office Print]]></title><description><![CDATA[My LinkedIn post highlighted APEX Office Print (AOP) as a way to maintain document layouts with familiar Office templates. A small order document makes the…]]></description><link>https://karimelgezawy.hashnode.dev/build-a-word-template-with-sql-data-using-apex-office-print</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/build-a-word-template-with-sql-data-using-apex-office-print</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 12 Nov 2026 07:11:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/3648781e-c8a2-4616-9207-b89ce9c8ce1e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My LinkedIn post highlighted APEX Office Print (AOP) as a way to maintain document layouts with familiar Office templates. A small order document makes the workflow concrete. Its data query defines the values, while a Word template places those values on the page.</p>
<h2>Define a small data contract</h2>
<p>Start in a development application with the AOP plug-in installed and an appropriately licensed AOP service configured. AOP combines structured data and a template on its rendering server. The vendor documents its deployment options and licensing. <a href="https://www.apexofficeprint.com/docs/">AOP overview</a></p>
<p>This illustrative query uses synthetic values from <code>DUAL</code>. It returns a document filename, a <code>data</code> cursor containing the order header, and a nested <code>lines</code> cursor.</p>
<pre><code class="language-sql">select
    'demo-order' as "filename",
    cursor(
        select
            1001 as "order_no",
            'Demo Customer' as "customer_name",
            cursor(
                select 'Planning session' as "description",
                       2 as "quantity", 75 as "unit_price"
                from dual
                union all
                select 'Review session', 1, 50 from dual
            ) as "lines"
        from dual
    ) as "data"
from dual
</code></pre>
<p>The quoted aliases preserve the lowercase names used by the template. Keep the query and template field names aligned. The <code>data</code> cursor provides the document's root values, and the nested cursor supplies the repeating records. <a href="https://www.apexofficeprint.com/docs/getting-started/sql-structure/">SQL structure</a></p>
<h2>Put the matching tags in Word</h2>
<p>Create a DOCX file and add the following tags as ordinary document text. Apply Word styles to the heading and paragraphs around them.</p>
<pre><code class="language-text">Order {order_no}
Customer {customer_name}

{#lines}
{description} | Quantity {quantity} | Unit price {unit_price}
{/lines}
</code></pre>
<p>The loop repeats the enclosed content for each line. Keep tag spelling and case consistent with the SQL aliases. Once this simple paragraph version works, adapt the layout to a table using the vendor's DOCX guidance. <a href="https://www.apexofficeprint.com/docs/templates/templates-docx/">DOCX template tags</a></p>
<h2>Connect and review the output</h2>
<p>Upload the template as an APEX Static Application File. In the AOP Dynamic Action, select that template source, enter its filename, choose SQL as the data type, and supply the query. Choose the required output format, such as PDF, then invoke the action from your print button. Attribute labels can vary with the installed plug-in version. <a href="https://www.apexofficeprint.com/docs/apex-plugins/aop-da/">AOP Dynamic Action settings</a></p>
<p>Check that order 1001 and both lines appear. Test a long description, an empty lines collection, and an Arabic layout before using real data. With application tables, enforce document access and row authorization in the data path. Select the destination service according to the information the document contains.</p>
<p>Keep the template version alongside the data contract. A heading change can stay in the template. Adding a new tag requires a corresponding value in the query and another output review.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7490663722621833216/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>بوستي على LinkedIn كان عن APEX Office Print واستخدام قوالب Office المألوفة لصيانة تصميم المستندات. مثال طلب بسيط يوضّح مسار العمل. الاستعلام يحدّد القيم، وقالب Word يوزّعها على الصفحة.</p>
<h2>حدّد البيانات المطلوبة للمستند</h2>
<p>ابدأ داخل تطبيق تطوير، بعد تثبيت AOP Plug-in وإعداد خدمة AOP بترخيص مناسب. الخدمة تدمج البيانات المنظمة والقالب على خادم إنشاء المستندات. يوضّح توثيق الشركة اختيارات الاستضافة والترخيص. <a href="https://www.apexofficeprint.com/docs/">نظرة عامة على AOP</a></p>
<p>الاستعلام التوضيحي التالي يستخدم قيمًا افتراضية من <code>DUAL</code>. بيرجع اسم الملف، وCursor باسم <code>data</code> لبيانات رأس الطلب، وCursor داخلي باسم <code>lines</code> للبنود.</p>
<pre><code class="language-sql">select
    'demo-order' as "filename",
    cursor(
        select
            1001 as "order_no",
            'Demo Customer' as "customer_name",
            cursor(
                select 'Planning session' as "description",
                       2 as "quantity", 75 as "unit_price"
                from dual
                union all
                select 'Review session', 1, 50 from dual
            ) as "lines"
        from dual
    ) as "data"
from dual
</code></pre>
<p>علامات التنصيص حول الأسماء المستعارة تحفظ الحروف الصغيرة المستخدمة في القالب. طابق أسماء الحقول بين الاستعلام والقالب. الـCursor المسمى <code>data</code> يوفّر القيم الأساسية للمستند، والـCursor الداخلي يوفّر السجلات المتكررة. <a href="https://www.apexofficeprint.com/docs/getting-started/sql-structure/">هيكل SQL في AOP</a></p>
<h2>أضف العلامات المطابقة داخل Word</h2>
<p>أنشئ ملف DOCX وأضف العلامات التالية كنص عادي داخل المستند. طبّق تنسيقات Word على العنوان والفقرات المحيطة بها.</p>
<pre><code class="language-text">طلب {order_no}
العميل {customer_name}

{#lines}
{description} | الكمية {quantity} | سعر الوحدة {unit_price}
{/lines}
</code></pre>
<p>الحلقة تكرّر المحتوى الموجود بداخلها لكل بند. حافظ على كتابة العلامات وحالة الحروف كما هي في أسماء SQL. بعد نجاح نسخة الفقرات البسيطة، طوّر التصميم إلى جدول بالرجوع لتوثيق قوالب DOCX. <a href="https://www.apexofficeprint.com/docs/templates/templates-docx/">علامات قوالب Word</a></p>
<h2>اربط القالب وراجع الناتج</h2>
<p>ارفع القالب في Static Application Files داخل APEX. في AOP Dynamic Action اختار مصدر القالب ده، واكتب اسم الملف، وحدّد SQL كنوع البيانات، وأضف الاستعلام. اختار صيغة الناتج المطلوبة، مثل PDF، ثم استدعِ الإجراء من زر الطباعة. أسماء الخصائص قد تختلف حسب إصدار الـPlug-in المثبّت. <a href="https://www.apexofficeprint.com/docs/apex-plugins/aop-da/">إعدادات AOP Dynamic Action</a></p>
<p>تأكد من ظهور الطلب 1001 والبندين. اختبر وصفًا طويلًا، ومجموعة بنود فارغة، وتصميمًا عربيًا قبل استخدام بيانات فعلية. عند ربط جداول التطبيق، طبّق صلاحية الوصول للمستند والصفوف في مسار تجهيز البيانات. اختار الخدمة المستقبلة حسب نوع المعلومات الموجودة في المستند.</p>
<p>احتفظ بإصدار القالب مع تعريف بياناته. تعديل العنوان يتم داخل القالب. إضافة علامة جديدة تحتاج قيمة مقابلة في الاستعلام ومراجعة جديدة للناتج.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7490663722621833216/">البوست الأصلي على LinkedIn</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Download a Custom Excel Workbook from Oracle APEX]]></title><description><![CDATA[A dashboard and its Excel download often serve different readers. The dashboard might show totals by month, while a reviewer needs one row per order. A…]]></description><link>https://karimelgezawy.hashnode.dev/download-a-custom-excel-workbook-from-oracle-apex</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/download-a-custom-excel-workbook-from-oracle-apex</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Fri, 06 Nov 2026 07:07:48 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/999510c1-3c9f-40d6-9882-bac3b45e7240.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A dashboard and its Excel download often serve different readers. The dashboard might show totals by month, while a reviewer needs one row per order. A dedicated export query gives that workbook its own columns, ordering, and rules without adding a second report region to the page.</p>
<h2>Build the workbook from a query</h2>
<p>In a development APEX application, create a button that submits the page. Add a PL/SQL page process and restrict it to that button. Keep this download request separate from processes that save or change data. The example uses two synthetic orders from <code>DUAL</code>, so it needs no application tables.</p>
<pre><code class="language-sql">declare
    l_query apex_exec.t_context;
    l_file  apex_data_export.t_export;
begin
    l_query := apex_exec.open_query_context(
        p_location =&gt; apex_exec.c_location_local_db,
        p_sql_query =&gt; q'[
            select 1001 as order_id, date '2026-01-15' as order_date,
                   125.50 as order_total
            from dual
            union all
            select 1002, date '2026-01-16', 78.00
            from dual
            order by order_id
        ]'
    );
    begin
        l_file := apex_data_export.export(
            p_context   =&gt; l_query,
            p_format    =&gt; apex_data_export.c_format_xlsx,
            p_file_name =&gt; 'sample-orders'
        );
    exception
        when others then
            apex_exec.close(l_query);
            raise;
    end;
    apex_exec.close(l_query);
    apex_data_export.download(p_export =&gt; l_file);
end;
</code></pre>
<p>The query context supplies typed rows. <code>APEX_DATA_EXPORT.EXPORT</code> builds the XLSX payload, and <code>DOWNLOAD</code> sends it as the response. Close the query context before calling <code>DOWNLOAD</code>; by default, the download stops the APEX engine. The inner exception handler releases the context if building the workbook fails, without intercepting normal download termination. See Oracle's references for <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_DATA_EXPORT-EXPORT-Function.html">EXPORT</a>, <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_DATA_EXPORT-DOWNLOAD-Procedure.html">DOWNLOAD</a>, and <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_EXEC.CLOSE-Procedure.html">closing the query context</a>.</p>
<h2>Decide what users can export</h2>
<ul>
<li><strong>Scope:</strong> A standalone query does not inherit an Interactive Report's runtime filters. If the file follows page filters, pass their validated values as binds. If users expect the current report view, consider its native download instead.</li>
<li><strong>Access:</strong> Apply authorization to the page process and enforce row access in the query. Select only columns approved for the workbook. A hidden UI column is not an export permission.</li>
<li><strong>Response:</strong> Use a request that expects a file. A callback whose JavaScript expects JSON needs a different download flow.</li>
</ul>
<h2>Test what the reviewer receives</h2>
<p>Start with the two sample rows. Check the filename, column order, and that the totals are numeric. With your authorized development data, check an empty result, a restrictive filter, and two users with different scopes. Verify the workbook contents against the intended export rules, including any row limit, before enabling the button for users.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7519513038740262912/">Original LinkedIn post</a></p>
<hr />
<h2>النسخة العربية</h2>
<p>شاشة الـDashboard وملف Excel ممكن يخدموا ناس مختلفة. الشاشة قد تعرض إجمالي الطلبات بالشهر، بينما المراجع محتاج صفًا لكل طلب. استعلام مخصص للتصدير يخلّيك تحدد أعمدة الملف وترتيبها وقواعدها من غير إضافة Report Region ثانية للصفحة.</p>
<h2>جهّز الملف من استعلام</h2>
<p>داخل تطبيق APEX للتطوير، اعمل زر يرسل الصفحة، وأضف Page Process بلغة PL/SQL يشتغل عند الضغط على الزر ده فقط. افصل طلب التنزيل عن العمليات اللي بتحفظ أو تعدّل البيانات. المثال يستخدم طلبين افتراضيين من <code>DUAL</code>، فمش محتاج جداول تطبيق.</p>
<pre><code class="language-sql">declare
    l_query apex_exec.t_context;
    l_file  apex_data_export.t_export;
begin
    l_query := apex_exec.open_query_context(
        p_location =&gt; apex_exec.c_location_local_db,
        p_sql_query =&gt; q'[
            select 1001 as order_id, date '2026-01-15' as order_date,
                   125.50 as order_total
            from dual
            union all
            select 1002, date '2026-01-16', 78.00
            from dual
            order by order_id
        ]'
    );
    begin
        l_file := apex_data_export.export(
            p_context   =&gt; l_query,
            p_format    =&gt; apex_data_export.c_format_xlsx,
            p_file_name =&gt; 'sample-orders'
        );
    exception
        when others then
            apex_exec.close(l_query);
            raise;
    end;
    apex_exec.close(l_query);
    apex_data_export.download(p_export =&gt; l_file);
end;
</code></pre>
<p>الـQuery Context يوفّر الصفوف بأنواع بياناتها. الدالة <code>APEX_DATA_EXPORT.EXPORT</code> تجهّز محتوى XLSX، والإجراء <code>DOWNLOAD</code> يرسله في الاستجابة. اقفل الـContext قبل استدعاء <code>DOWNLOAD</code>، لأن التنزيل بيوقف محرك APEX بالإعداد الافتراضي. معالجة الخطأ الداخلية تحرّر الـContext لو تجهيز الملف فشل، من غير ما تتدخل في الإنهاء الطبيعي للتنزيل. راجع مراجع Oracle عن <a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_DATA_EXPORT-EXPORT-Function.html">EXPORT</a> و<a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_DATA_EXPORT-DOWNLOAD-Procedure.html">DOWNLOAD</a> و<a href="https://docs.oracle.com/en/database/oracle/apex/26.1/aeapi/APEX_EXEC.CLOSE-Procedure.html">إغلاق الـQuery Context</a>.</p>
<h2>حدّد ما يقدر المستخدم يصدّره</h2>
<ul>
<li><strong>النطاق:</strong> الاستعلام المستقل مش بياخد تلقائيًا فلاتر الـInteractive Report وقت التشغيل. لو الملف يتبع فلاتر الصفحة، مرّر القيم بعد التحقق منها باستخدام Bind Variables. ولو المطلوب نفس عرض التقرير الحالي، فكّر في التنزيل المدمج في التقرير.</li>
<li><strong>الصلاحيات:</strong> طبّق صلاحية على الـPage Process، وطبّق قواعد الوصول للصفوف داخل الاستعلام. اختار الأعمدة المسموح بإرسالها في الملف فقط؛ إخفاء عمود في الواجهة لا يمنع تصديره.</li>
<li><strong>الاستجابة:</strong> استخدم طلبًا يتوقّع ملفًا. لو عندك Callback والـJavaScript مستني JSON، هتحتاج مسار تنزيل مختلف.</li>
</ul>
<h2>اختبر الملف اللي هيوصل للمراجع</h2>
<p>ابدأ بالصفّين الافتراضيين، وراجع اسم الملف وترتيب الأعمدة وإن الإجماليات أرقام. في بيئة تطوير مصرح لك باستخدامها، اختبر نتيجة فارغة، وفلتر يضيّق النتائج، ومستخدمين بصلاحيات مختلفة. قارن محتويات الملف بقواعد التصدير المطلوبة، بما فيها أي حد لعدد الصفوف، قبل إتاحة الزر للمستخدمين.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7519513038740262912/">البوست الأصلي على LinkedIn</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Configure Cohere for Oracle APEX App Builder]]></title><description><![CDATA[Configure a Cohere workspace service in Oracle APEX and test the assistant with a reviewable prompt. English and Arabic.]]></description><link>https://karimelgezawy.hashnode.dev/configure-cohere-for-oracle-apex-app-builder</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/configure-cohere-for-oracle-apex-app-builder</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 05 Nov 2026 11:46:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/605d1cc3-9f25-4293-89d9-86e395a17e75.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My original LinkedIn walkthrough connected a Cohere service to Oracle APEX App Builder. The useful starting point is a workspace service definition: provider, endpoint, model, and credential are configured together before you ask the assistant to help with code.</p>
<h2>Create the workspace service</h2>
<p>In APEX 26.2, open <strong>App Builder → Workspace Utilities → All Workspace Utilities → Generative AI</strong>. Create a service, select <strong>Cohere</strong>, and give it a clear name and Static ID. Navigation labels can differ by APEX version. Oracle describes the <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/apxdc/configuring-generative-ai-service.html">configuration workflow</a>.</p>
<p>This is an illustrative configuration record, not an import file or executable script:</p>
<pre><code class="language-text">Name: Cohere Development Assistant
Static ID: COHERE_DEV_ASSISTANT
AI Provider: Cohere
Used by App Builder: On
Default for New Apps: Off (enable if required)
Base URL: https://api.cohere.ai/v2
AI Model: command-r-08-2024
Credential: a workspace Web Credential
</code></pre>
<p>The endpoint and model above come from my original example. Confirm that your installed APEX version supports the endpoint and that your provider account can access the chosen model. Check <a href="https://docs.cohere.com/docs/models">Cohere's current model catalog</a>; availability can vary by hosting platform.</p>
<h2>Separate the two switches</h2>
<p><strong>Used by App Builder</strong> enables the service for builder features. <strong>Default for New Apps</strong> chooses the default service for newly created applications. Decide each setting independently; they serve different purposes. See Oracle's <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/editing-a-generative-as-service.html">service attribute reference</a>.</p>
<p>Select or create the Web Credential in APEX. Keep the API key out of JavaScript, screenshots, articles, and repositories. Oracle documents <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/creating-generative-ai-service-objects.html">credential storage and runtime controls</a>, including token and timeout settings.</p>
<h2>Test with a small, reviewable request</h2>
<p>Run <strong>Test Connection</strong> before saving. Then try a prompt using invented schema names:</p>
<pre><code class="language-text">Given demo_orders(order_id, customer_id, amount), write a read-only
SQL query returning total amount by customer_id. Explain how SUM
handles null amounts. Do not invent columns or execute the query.
</code></pre>
<p>Review the proposed SQL, assumptions, null handling, and access rules before using it. A successful connection proves connectivity; the generated answer still needs technical review. Use synthetic examples while evaluating the assistant, and choose deliberately which application information may be sent to the external provider.</p>
<hr />
<h1>النسخة العربية</h1>
<p>الشرح الأصلي على LinkedIn كان عن ربط خدمة Cohere مع Oracle APEX App Builder. البداية العملية هي تعريف خدمة داخل الـWorkspace: تختار المزوّد والرابط والموديل وبيانات الاتصال، وبعدها تطلب من المساعد دعمك في كتابة الكود.</p>
<h2>أنشئ خدمة داخل الـWorkspace</h2>
<p>في APEX 26.2 افتح <strong>App Builder → Workspace Utilities → All Workspace Utilities → Generative AI</strong>. أنشئ خدمة، واختر <strong>Cohere</strong>، وحدّد اسمًا واضحًا وStatic ID. أسماء القوائم قد تختلف حسب إصدار APEX. توضح Oracle <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/apxdc/configuring-generative-ai-service.html">خطوات الإعداد</a>.</p>
<p>المثال التالي لتوضيح الإعدادات، وليس ملف استيراد أو سكربت قابلًا للتنفيذ:</p>
<pre><code class="language-text">Name: Cohere Development Assistant
Static ID: COHERE_DEV_ASSISTANT
AI Provider: Cohere
Used by App Builder: On
Default for New Apps: Off (enable if required)
Base URL: https://api.cohere.ai/v2
AI Model: command-r-08-2024
Credential: a workspace Web Credential
</code></pre>
<p>الرابط والموديل هنا من المثال الأصلي. تأكد أن إصدار APEX المثبّت يدعم الرابط، وأن حسابك عند المزوّد يتيح الموديل المطلوب. راجع <a href="https://docs.cohere.com/docs/models">قائمة موديلات Cohere الحالية</a>، لأن الإتاحة قد تختلف بين منصات الاستضافة.</p>
<h2>افصل بين الاختيارين</h2>
<p><strong>Used by App Builder</strong> يتيح الخدمة لخصائص بيئة التطوير. أما <strong>Default for New Apps</strong> فيختار الخدمة الافتراضية للتطبيقات الجديدة. قرّر كل إعداد بشكل مستقل لأن لكل واحد وظيفة مختلفة. راجع <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/editing-a-generative-as-service.html">مرجع خصائص الخدمة لدى Oracle</a>.</p>
<p>اختر أو أنشئ Web Credential داخل APEX. احتفظ بمفتاح API بعيدًا عن JavaScript والصور والمقالات والمستودعات. توثّق Oracle <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/creating-generative-ai-service-objects.html">حفظ بيانات الاتصال وإعدادات التشغيل</a>، ومنها حدود التوكنز والمهلة الزمنية.</p>
<h2>اختبر بطلب صغير يمكن مراجعته</h2>
<p>شغّل <strong>Test Connection</strong> قبل الحفظ، ثم جرّب طلبًا بأسماء جداول افتراضية:</p>
<pre><code class="language-text">لدي جدول افتراضي demo_orders(order_id, customer_id, amount).
اكتب استعلام SQL للقراءة فقط يعرض إجمالي amount لكل customer_id.
اشرح تعامل SUM مع قيم amount الفارغة. لا تخترع أعمدة ولا تنفّذ الاستعلام.
</code></pre>
<p>راجع SQL المقترح وافتراضاته وتعامله مع القيم الفارغة وقواعد الوصول قبل استخدامه. نجاح الاتصال يثبت الوصول للخدمة، وتظل الإجابة المولّدة محتاجة مراجعة فنية. استخدم أمثلة افتراضية أثناء التقييم، وحدّد بوضوح معلومات التطبيق المسموح بإرسالها للمزوّد الخارجي.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7461524234314375168/">Original LinkedIn post / البوست الأصلي</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Color Oracle APEX Report Rows with SQL and CSS]]></title><description><![CDATA[Style Oracle APEX report rows with controlled SQL status markers and scoped CSS :has(), with accessible labels and refresh checks.]]></description><link>https://karimelgezawy.hashnode.dev/color-oracle-apex-report-rows-with-sql-and-css</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/color-oracle-apex-report-rows-with-sql-and-css</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Wed, 04 Nov 2026 12:28:33 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/2bc2d88a-c231-4c12-80cc-3a3527aa121f.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A status column can help readers scan an Oracle APEX Interactive Report quickly. My original LinkedIn example used a small HTML marker inside each row, then CSS to style the row containing that marker.</p>
<h2>Return a controlled status marker</h2>
<p>The following illustrative query assumes a table named <code>demo_records</code> with <code>record_id</code> and <code>status_code</code>. Replace those names with your application's query. The status mapping emits a fixed set of HTML strings.</p>
<pre><code class="language-sql">select record_id,
       case status_code
         when 'VALID' then
           '&lt;span class="row-paint" data-state="valid"&gt;Valid&lt;/span&gt;'
         when 'EXPIRED' then
           '&lt;span class="row-paint" data-state="expired"&gt;Expired&lt;/span&gt;'
         else
           '&lt;span class="row-paint" data-state="review"&gt;Review&lt;/span&gt;'
       end as status_badge
from demo_records
</code></pre>
<p>Set the computed <code>STATUS_BADGE</code> column to Plain Text and set Escape Special Characters to No so its generated markup can render. Keep ordinary data columns escaped. If you extend the expression to include user-entered text, escape that text for its output context before combining it with HTML. Oracle documents <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/controlling-output-escaping-in-substitution-strings.html">HTML and attribute escaping</a>.</p>
<p>The visible words Valid, Expired, and Review give each row a readable status alongside its color.</p>
<h2>Scope the CSS to one report</h2>
<p>Give the report region the Static ID <code>record_status_report</code>. Add these rules to your application stylesheet or the page's Inline CSS.</p>
<pre><code class="language-css">#record_status_report tbody tr:has(.row-paint[data-state="valid"]) &gt; td {
  background-color: #e4f5ea;
  color: #123b24;
}

#record_status_report tbody tr:has(.row-paint[data-state="expired"]) &gt; td {
  background-color: #fbe9e7;
  color: #582018;
}
</code></pre>
<p>The <code>:has()</code> selector matches a row containing the corresponding marker. Applying the background to its cells helps the color appear over cell backgrounds supplied by the report template. MDN explains <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:has">the selector and browser support</a>.</p>
<p>The Review state keeps the report's normal styling. Adjust the palette for your theme and check contrast in every supported appearance.</p>
<h2>Verify the complete report experience</h2>
<p>Test the two colored states and the fallback state. Change filters, sort columns, move between report pages, and refresh the report. The selector will match newly rendered rows when the marker remains in their markup.</p>
<p>Keep the status column in the report layouts that need this treatment. If users hide or exclude that column, verify whether the marker remains in the rendered DOM. Check keyboard focus, hover styling, small screens, and downloads as well. An export should communicate the status through readable values.</p>
<p>This pattern connects a controlled status value to presentation. Keep the underlying business decision in the query or application logic, and use the visible label to explain the color.</p>
<hr />
<h1>النسخة العربية</h1>
<p>عمود الحالة يساعد المستخدم يراجع صفوف Interactive Report في Oracle APEX بسرعة. المثال الأصلي على LinkedIn استخدم علامة HTML صغيرة داخل كل صف، وبعدها CSS لتنسيق الصف الذي يحتوي على العلامة.</p>
<h2>أرجع علامة حالة بقيم محددة</h2>
<p>الاستعلام التوضيحي التالي يفترض وجود جدول <code>demo_records</code> وعمودي <code>record_id</code> و<code>status_code</code>. استبدل الأسماء باستعلام تطبيقك. الربط بين الحالة والعرض يُنتج مجموعة ثابتة من نصوص HTML.</p>
<pre><code class="language-sql">select record_id,
       case status_code
         when 'VALID' then
           '&lt;span class="row-paint" data-state="valid"&gt;Valid&lt;/span&gt;'
         when 'EXPIRED' then
           '&lt;span class="row-paint" data-state="expired"&gt;Expired&lt;/span&gt;'
         else
           '&lt;span class="row-paint" data-state="review"&gt;Review&lt;/span&gt;'
       end as status_badge
from demo_records
</code></pre>
<p>اضبط العمود المحسوب <code>STATUS_BADGE</code> على Plain Text واجعل Escape Special Characters بقيمة No لعرض HTML الناتج. احتفظ بالـEscaping لأعمدة البيانات العادية. لو وسّعت التعبير وأضفت نصًا يدخله المستخدم، طبّق عليه الـEscaping المناسب لسياق العرض قبل دمجه مع HTML. توضح Oracle <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/controlling-output-escaping-in-substitution-strings.html">فلاتر حماية النصوص وخصائص HTML</a>.</p>
<p>الكلمات الظاهرة Valid وExpired وReview توفر وصفًا مقروءًا للحالة بجانب اللون.</p>
<h2>حدّد نطاق CSS لتقرير واحد</h2>
<p>أعطِ منطقة التقرير Static ID بقيمة <code>record_status_report</code>. أضف القواعد التالية إلى ملف CSS الخاص بالتطبيق أو Inline CSS في الصفحة.</p>
<pre><code class="language-css">#record_status_report tbody tr:has(.row-paint[data-state="valid"]) &gt; td {
  background-color: #e4f5ea;
  color: #123b24;
}

#record_status_report tbody tr:has(.row-paint[data-state="expired"]) &gt; td {
  background-color: #fbe9e7;
  color: #582018;
}
</code></pre>
<p>المحدد <code>:has()</code> يختار الصف الذي يحتوي على العلامة المطابقة. تطبيق الخلفية على خلايا الصف يساعد اللون يظهر فوق الخلفيات التي يضعها قالب التقرير على الخلايا. يشرح MDN <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:has">المحدد ودعم المتصفحات له</a>.</p>
<p>حالة Review تحتفظ بتنسيق التقرير المعتاد. عدّل الألوان لتناسب الثيم، وراجع تباين النص في كل مظهر يدعمه التطبيق.</p>
<h2>اختبر تجربة التقرير كاملة</h2>
<p>اختبر الحالتين الملونتين والحالة الافتراضية. غيّر الفلاتر والترتيب، وتنقّل بين صفحات التقرير، ثم حدّثه. المحدد يطابق الصفوف التي تُرسم من جديد عندما تظل العلامة موجودة في HTML الخاص بها.</p>
<p>احتفظ بعمود الحالة في تخطيطات التقرير التي تحتاج التنسيق. لو المستخدم أخفى العمود أو استبعده، افحص هل العلامة ما زالت موجودة في الـDOM الناتج. راجع تركيز الكيبورد وتنسيق مرور المؤشر والشاشات الصغيرة وتنزيل الملفات أيضًا. ملف التصدير يحتاج قيمًا مقروءة توضّح الحالة.</p>
<p>الأسلوب يربط قيمة حالة محددة بطريقة عرضها. احتفظ بقرار العمل في الاستعلام أو منطق التطبيق، واستخدم النص الظاهر لتفسير اللون.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7411647252894556160/">Original LinkedIn post / البوست الأصلي</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Oracle APEX Dynamic Actions: Page Load or After Refresh?]]></title><description><![CDATA[A report can be visible while a Dynamic Action is still waiting for the event it was configured to handle. Start debugging by identifying what should…]]></description><link>https://karimelgezawy.hashnode.dev/oracle-apex-dynamic-actions-page-load-or-after-refresh</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/oracle-apex-dynamic-actions-page-load-or-after-refresh</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Tue, 03 Nov 2026 07:06:27 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/985e6b37-2c71-482b-a0a6-0dc203a2e3c6.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A report can be visible while a Dynamic Action is still waiting for the event it was configured to handle. Start debugging by identifying what should trigger the action: the initial page load, a refresh of a specific component, or the completion of an Ajax request.</p>
<h2>Separate the server and browser timelines</h2>
<p>During rendering, APEX builds the response using server-side processes, conditions, and region queries. In the browser, a Page Load Dynamic Action fires when the DOM is ready. If a task depends on APEX components that delay initialization, consult the documented <code>apexreadyend</code> event. A region refresh is a separate operation. After Refresh applies to components that emit the refresh event.</p>
<h2>Example: count visible rows after a report refresh</h2>
<p>In a development application, give a Classic Report the Static ID <code>orders_report</code>. Add a static element with ID <code>orders_row_count</code> outside the report. Define the following function in the page’s JavaScript declarations. Adjust the row selector for your report template.</p>
<pre><code class="language-javascript">function updateVisibleOrderCount() {
  const report = document.getElementById("orders_report");
  const label = document.getElementById("orders_row_count");
  if (report &amp;&amp; label) {
    const count = report.querySelectorAll("tbody tr").length;
    label.textContent = String(count);
  }
}
</code></pre>
<p>Call <code>updateVisibleOrderCount();</code> from a Page Load Dynamic Action for the initial display. Call it again from an After Refresh Dynamic Action targeting the Classic Report for subsequent refreshes. This example counts rendered table rows, including any template rows that match the selector. Use a server-side count if the requirement is the total across all report pages.</p>
<h2>Diagnose with two traces</h2>
<p>Enable APEX Debug and inspect the server-side render or Ajax request. Then use browser developer tools to check whether the event fired, whether the selector matched, and whether an Ajax action returned an error. For a slow report, measure the region query and network request before changing the event configuration.</p>
<p>Sources: <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/understanding-dynamic-actions.html">Oracle Dynamic Actions guide</a> and <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/aexjs/apex.html">Oracle APEX JavaScript events</a>.</p>
<hr />
<h1>النسخة العربية</h1>
<p>ممكن التقرير يظهر على الشاشة بينما الـ Dynamic Action لسه مستنية الحدث اللي اتضبطت عليه. ابدأ التشخيص بتحديد اللحظة المناسبة للتنفيذ: التحميل الأول للصفحة، تحديث مكوّن بعينه، أو اكتمال طلب Ajax.</p>
<h2>افصل بين توقيت السيرفر والمتصفح</h2>
<p>أثناء تجهيز الصفحة، يبني APEX الاستجابة باستخدام عمليات السيرفر والشروط واستعلامات المناطق. في المتصفح، يحدث Page Load لما يكون الـ DOM جاهز. لو المهمة تعتمد على مكونات APEX اللي بتتأخر في التهيئة، راجع حدث <code>apexreadyend</code> في التوثيق. تحديث منطقة عملية منفصلة. حدث After Refresh ينطبق على المكوّنات اللي بتطلق حدث التحديث.</p>
<h2>مثال عملي لعد الصفوف الظاهرة بعد تحديث التقرير</h2>
<p>في تطبيق تطوير، أعطِ الـ Classic Report معرّفًا ثابتًا <code>orders_report</code>. أضف عنصرًا ثابتًا بمعرّف <code>orders_row_count</code> خارج التقرير. عرّف الدالة التالية ضمن تعريفات JavaScript في الصفحة. اضبط محدد الصفوف على حسب قالب تقريرك.</p>
<pre><code class="language-javascript">function updateVisibleOrderCount() {
  const report = document.getElementById("orders_report");
  const label = document.getElementById("orders_row_count");
  if (report &amp;&amp; label) {
    const count = report.querySelectorAll("tbody tr").length;
    label.textContent = String(count);
  }
}
</code></pre>
<p>استدعِ <code>updateVisibleOrderCount();</code> من Dynamic Action بحدث Page Load للعرض الأول. استدعِ الدالة مرة ثانية من Dynamic Action بحدث After Refresh يستهدف الـ Classic Report بعد كل تحديث لاحق. المثال يعد صفوف الجدول المرسومة، بما فيها أي صفوف من القالب تطابق المحدد. لو المطلوب إجمالي الصفوف عبر جميع صفحات التقرير، احسب العدد على السيرفر.</p>
<h2>شخّص المشكلة بتتبّع التنفيذ على الجانبين</h2>
<p>فعّل APEX Debug وراجع تنفيذ تجهيز الصفحة أو طلب Ajax على السيرفر. بعدها استخدم أدوات المطور في المتصفح للتأكد إن الحدث اتنفّذ، وإن المحدد طابق العنصر المطلوب، وإن طلب Ajax رجع بنجاح. لو التقرير بطيء، قِس زمن استعلام المنطقة وطلب الشبكة قبل تعديل إعداد الحدث.</p>
<p><a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/understanding-dynamic-actions.html">دليل Dynamic Actions من Oracle</a> و<a href="https://docs.oracle.com/en/database/oracle/apex/26.2/aexjs/apex.html">مرجع أحداث JavaScript في Oracle APEX</a>.</p>
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7404399483813523457/">Original LinkedIn post / البوست الأصلي</a></p>
<p>AI-generated cover illustration. / الغلاف مولّد بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Oracle APEX Compatibility Mode: Review Before You Switch]]></title><description><![CDATA[A practical review and testing checklist before changing Oracle APEX Compatibility Mode, including the APEX 26.2 Advisor update.]]></description><link>https://karimelgezawy.hashnode.dev/oracle-apex-compatibility-mode-review-before-you-switch</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/oracle-apex-compatibility-mode-review-before-you-switch</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Mon, 02 Nov 2026 07:16:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/a21987c1-fbb7-4125-bd87-0041db0dfedc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Changing Compatibility Mode in Oracle APEX deserves a review, even when the application already runs on a newer APEX installation. My original LinkedIn post focused on that decision: prepare a recoverable copy, inspect the application, and test the user journeys before changing runtime behavior.</p>
<h2>Understand what you are changing</h2>
<p>Compatibility Mode controls selected runtime behavior for an application. It is separate from the installed APEX release, the Universal Theme version, and the application’s own version label. Oracle documents mode changes by release; newer modes include earlier compatibility changes. Review the <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmrn/changed-behavior.html">release-specific behavior notes</a> rather than assuming that every JavaScript or visual difference is caused by this setting.</p>
<h2>Build a review sequence</h2>
<ol>
<li><strong>Capture a baseline.</strong> Keep an application export or source revision and record the existing mode. Preserve related deployment information needed to reproduce the application. An application export is not a backup of all business data or external services.</li>
<li><strong>Use a development copy.</strong> Establish how the important journeys behave before changing anything. A list of page numbers is less useful than a list of tasks users must complete.</li>
<li><strong>Inspect the available upgrades.</strong> In Utilities → Upgrade Application, review the offered component changes individually. Treat the wizard as a targeted migration tool, not proof that every customization is compatible.</li>
<li><strong>Review theme and custom code separately.</strong> Check the Universal Theme and application JavaScript against the target release. Keep these changes distinguishable so a regression can be traced to its cause.</li>
<li><strong>Change the mode deliberately.</strong> In Application Definition → Definition → Properties, select the reviewed Compatibility Mode. Repeat the same journeys and compare the results with the baseline.</li>
</ol>
<p>Oracle’s <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/upgrading-apex-applications.html">application upgrade guide</a> explains the component-upgrade and compatibility-setting paths. The practical goal is evidence that the application still works, not simply a newer setting value.</p>
<h2>Test outcomes, not only page rendering</h2>
<p>For example, take one request from creation through validation, save, review, and approval. Check required fields, LOV selections, Dynamic Actions, dialogs, report filters, downloads, and access rules relevant to that journey. Include cancellation and rejected input. Record expected and observed outcomes, with enough detail to investigate a difference.</p>
<p>These are proposed checks, not claims that every listed component changes with each compatibility mode.</p>
<h2>Update the checking tools too</h2>
<p>My earlier post recommended Advisor. There is an important release-specific update: APEX Advisor is deprecated in APEX 26.2. Oracle points to enhanced APEXlang quality and security checks in SQLcl 26.3.0 CODESCAN. See the <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmrn/deprecated-features.html">official deprecation notice</a>. Use tools supported by your installed release, and keep functional testing alongside static checks.</p>
<p>A useful change record answers four questions: what changed, why it changed, what was tested, and how the previous application definition can be recovered if necessary.</p>
<hr />
<h1>النسخة العربية</h1>
<p>تغيير Compatibility Mode في Oracle APEX يستحق مراجعة، حتى لو التطبيق يعمل بالفعل على تثبيت أحدث من APEX. البوست الأصلي على LinkedIn كان عن القرار ده: احتفظ بنسخة يمكن الرجوع لها، وراجع التطبيق، واختبر رحلات المستخدم قبل تغيير سلوك التشغيل.</p>
<h2>افهم ما الذي تغيّره</h2>
<p>Compatibility Mode يتحكم في سلوكيات محددة أثناء تشغيل التطبيق. وهو مختلف عن إصدار APEX المثبت، وإصدار Universal Theme، ورقم النسخة الذي تكتبه لتطبيقك. توثّق Oracle تغييرات التوافق لكل إصدار، وتشمل الأوضاع الأحدث تغييرات التوافق السابقة. راجع <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmrn/changed-behavior.html">ملاحظات السلوك الخاصة بالإصدار</a>، بدل افتراض أن أي اختلاف في JavaScript أو الشكل سببه الإعداد ده.</p>
<h2>جهّز تسلسلًا للمراجعة</h2>
<ol>
<li><strong>احتفظ بخط أساس.</strong> احفظ Export للتطبيق أو نسخة من المصدر، وسجّل وضع التوافق الحالي. احتفظ كذلك بمعلومات النشر اللازمة لإعادة إنشاء التطبيق. تصدير التطبيق ليس نسخة احتياطية لكل بيانات العمل أو الخدمات الخارجية.</li>
<li><strong>استخدم نسخة تطوير.</strong> حدّد كيف تعمل الرحلات المهمة قبل أي تغيير. قائمة بالمهام التي يجب أن يكملها المستخدم أفيد من مجرد قائمة بأرقام الصفحات.</li>
<li><strong>راجع الترقيات المتاحة.</strong> من Utilities → Upgrade Application، افحص تحديثات المكونات المعروضة كلًّا على حدة. المعالج أداة لترحيل تغييرات محددة، وليس دليلًا على توافق كل التخصيصات.</li>
<li><strong>راجع الثيم والكود المخصص بصورة مستقلة.</strong> قارن Universal Theme وJavaScript الخاص بالتطبيق بمتطلبات الإصدار المستهدف. حافظ على إمكانية التمييز بين التغييرات حتى يسهل معرفة سبب أي خلل.</li>
<li><strong>غيّر الوضع بقرار واضح.</strong> من Application Definition → Definition → Properties، اختر Compatibility Mode الذي راجعته. أعد تنفيذ الرحلات نفسها وقارن نتائجها بخط الأساس.</li>
</ol>
<p>يوضح <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/upgrading-apex-applications.html">دليل Oracle لترقية التطبيقات</a> مسارات ترقية المكونات وإعداد التوافق. الهدف العملي هو وجود دليل أن التطبيق ما زال يعمل، وليس مجرد اختيار قيمة أحدث.</p>
<h2>اختبر النتائج، وليس فتح الصفحة فقط</h2>
<p>مثلًا، تابع طلبًا من إنشائه إلى التحقق من البيانات والحفظ والمراجعة والاعتماد. راجع الحقول المطلوبة واختيارات LOVs وDynamic Actions والنوافذ والتصفية وتنزيل الملفات والصلاحيات المرتبطة بالرحلة. أضف الإلغاء والمدخلات المرفوضة للاختبار. دوّن النتيجة المتوقعة والفعلية بتفاصيل تكفي لتشخيص الاختلاف.</p>
<p>دي اختبارات مقترحة، وليست ادعاءً بأن كل المكونات المذكورة يتغير سلوكها مع كل وضع توافق.</p>
<h2>حدّث أدوات الفحص أيضًا</h2>
<p>البوست السابق أوصى بـAdvisor. هنا تحديث مهم مرتبط بالإصدار: أداة APEX Advisor أصبحت Deprecated في APEX 26.2. وتشير Oracle إلى فحوصات جودة وأمان محسّنة لتطبيقات APEXlang داخل CODESCAN في SQLcl 26.3.0. راجع <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmrn/deprecated-features.html">إشعار الإهمال الرسمي</a>. استخدم الأدوات التي يدعمها إصدارك، واحتفظ بالاختبارات الوظيفية بجانب الفحص الساكن.</p>
<p>سجل التغيير المفيد يجيب عن أربعة أسئلة: ما الذي تغيّر؟ ولماذا؟ وما الذي اختُبر؟ وكيف يمكن استعادة تعريف التطبيق السابق عند الحاجة؟</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7467911938401046548/">Original LinkedIn post / البوست الأصلي</a></p>
<p>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</p>
]]></content:encoded></item><item><title><![CDATA[Understand APEX URLs Before Passing Session State]]></title><description><![CDATA[APEX supports Friendly URLs and the legacy f?p syntax. Understanding the URL helps when diagnosing navigation and unexpected session values. The legacy…]]></description><link>https://karimelgezawy.hashnode.dev/understand-apex-urls-before-passing-session-state</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/understand-apex-urls-before-passing-session-state</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:02:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/e54b287a-42ae-4a65-a47a-f1db0f2bf2f7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>APEX supports Friendly URLs and the legacy f?p syntax. Understanding the URL helps when diagnosing navigation and unexpected session values.</p>
<p>The legacy structure separates application, page, session, request, debug, clear-cache, item names, and item values with colons. A missing separator can shift a value into the wrong position. Prefer declarative link builders and supported URL-generation APIs to manual concatenation.</p>
<p>Treat values received through a URL as user-controlled input. Apply server-side validation and authorization, and preserve the application's URL protection requirements. A request value used for a rendering condition does not by itself perform a page submit or authorize a write operation.</p>
<p>Clear cache deliberately: understand which session values should be reset before the target page renders. Keep private information and credentials out of URLs, and avoid distributing live session identifiers.</p>
<p>When debugging a link, check the generated destination, intended page, cleared state, and the values the server actually receives.</p>
<p>Reference: <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/htmdb/understanding-url-syntax.html">Oracle URL syntax</a>.</p>
<hr />
<h2>النسخة العربية</h2>
<p>APEX تدعم Friendly URLs والصيغة الأقدم f?p. فهم الرابط بيساعد في تشخيص التنقل وقيم الجلسة غير المتوقعة.</p>
<p>الصيغة القديمة تفصل التطبيق والصفحة والجلسة والطلب والـDebug ومسح الحالة وأسماء وقيم العناصر باستخدام النقطتين. فاصل ناقص ممكن ينقل قيمة لمكان مختلف. فضل أدوات بناء الروابط المدمجة وواجهات توليد الروابط المدعومة على تجميع النص يدويًا.</p>
<p>اعتبر قيم الرابط مدخلات يتحكم فيها المستخدم. طبق التحقق والصلاحيات على السيرفر وحافظ على متطلبات حماية الروابط. قيمة Request المستخدمة في شرط عرض لا تنفذ Submit ولا تمنح صلاحية كتابة بمفردها.</p>
<p>حدد مسح الحالة بقصد واضح: إيه القيم اللي لازم تتصفر قبل عرض الصفحة؟ وابعد المعلومات الخاصة وكلمات السر عن الروابط، وتجنب مشاركة معرف جلسة حية.</p>
<p>عند تشخيص الرابط، راجع الوجهة والصفحة والحالة المطلوب مسحها والقيم اللي وصلت فعلًا للسيرفر.</p>
<p>المرجع: <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/htmdb/understanding-url-syntax.html">توثيق Oracle لصيغة الروابط</a>.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7417475659863646208/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Update an APEX Interactive Grid Row Through Its Model]]></title><description><![CDATA[An Interactive Grid row action can retrieve related information without refreshing the entire page. The important part is keeping record identity…]]></description><link>https://karimelgezawy.hashnode.dev/update-an-apex-interactive-grid-row-through-its-model</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/update-an-apex-interactive-grid-row-through-its-model</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:02:34 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/91b4d2d8-744e-4ef7-a83d-d64e96b05396.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>An Interactive Grid row action can retrieve related information without refreshing the entire page. The important part is keeping record identity, authorization, and persistence clear.</p>
<p>Identify the record associated with the clicked action. Do not assume that the currently selected row is always the row whose button was clicked. Send the necessary identifier to an Ajax callback, authorize access on the server, and return a small JSON response.</p>
<p>Apply values through the grid's model API rather than changing rendered cell HTML. A visual change alone can disappear when the grid redraws and may never reach its data model.</p>
<p>Decide whether the response changes only the client model or also persists a server-side operation. Show when saving succeeds, handle errors, and protect against stale responses and repeated clicks.</p>
<p>The source LinkedIn post shared a community article. This adaptation explains the design considerations without claiming authorship of that original resource.</p>
<p>Reference: <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aexjs/model.html">Oracle APEX model API</a>.</p>
<hr />
<h2>النسخة العربية</h2>
<p>زر داخل صف Interactive Grid يقدر يجيب بيانات مرتبطة من غير تحديث الصفحة كلها. المهم توضيح هوية السجل والصلاحيات وطريقة الحفظ.</p>
<p>حدد السجل المرتبط بالزر المضغوط؛ الصف المحدد حاليًا مش بالضرورة هو نفس صف الزر. ابعت المعرف المطلوب لـAjax Callback، وافحص صلاحية الوصول على السيرفر، وارجع استجابة JSON صغيرة.</p>
<p>طبق القيم من خلال Model API الخاصة بالـGrid، بدل تعديل HTML المعروض في الخلية. التغيير الشكلي ممكن يختفي عند إعادة الرسم، وقد لا يصل لنموذج البيانات أصلًا.</p>
<p>حدد هل الاستجابة بتغير نموذج المتصفح فقط، أم تنفذ عملية محفوظة على السيرفر. وضح نجاح الحفظ، وتعامل مع الأخطاء والاستجابات المتأخرة وتكرار الضغط.</p>
<p>البوست الأصلي شارك مقالًا من المجتمع. النسخة دي بتشرح اعتبارات التصميم، ولا تنسب تأليف المصدر الأصلي لي.</p>
<p>المرجع: <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aexjs/model.html">توثيق Oracle لـModel API</a>.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7413108589793497088/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Improve Mobile Navigation in Oracle APEX Without Global Click Handlers]]></title><description><![CDATA[A side menu that stays open after navigation can make a small screen frustrating. Start by reproducing the behavior in the application's actual theme…]]></description><link>https://karimelgezawy.hashnode.dev/improve-mobile-navigation-in-oracle-apex-without-global-click-handlers</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/improve-mobile-navigation-in-oracle-apex-without-global-click-handlers</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:02:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/873f14c0-a8c7-4736-b12e-9371d200cb0d.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A side menu that stays open after navigation can make a small screen frustrating. Start by reproducing the behavior in the application's actual theme version and checking its built-in navigation behavior.</p>
<p>If custom handling is needed, scope it to the navigation region and the links that genuinely navigate. A document-wide handler for every anchor also catches dialog links, downloads, help links, and unrelated controls.</p>
<p>Use a stable, documented theme interaction where available. Treat internal element IDs and CSS classes as version-dependent assumptions, and record those assumptions beside the code. Avoid logging complete link URLs when they may contain identifiers or session information.</p>
<p>Test touch and keyboard navigation, focus after the menu closes, back navigation, and narrow and wide layouts. Check that activating a dialog does not unexpectedly move focus or dismiss the wrong interface.</p>
<p>A small improvement becomes reusable when its scope and failure cases are clear.</p>
<hr />
<h2>النسخة العربية</h2>
<p>القائمة الجانبية اللي تفضل مفتوحة بعد التنقل ممكن تضايق المستخدم على الموبايل. ابدأ بإعادة المشكلة على إصدار الـTheme المستخدم فعلًا، وراجع سلوك التنقل المدمج.</p>
<p>لو محتاج معالجة مخصصة، حددها في منطقة القائمة والروابط اللي بتنقل فعلًا. مراقبة كل عناصر الروابط في الصفحة تمسك كمان الـDialogs والتنزيلات والمساعدة وعناصر ملهاش علاقة بالقائمة.</p>
<p>استخدم تفاعل موثق وثابت من الـTheme لو متاح. اعتبر الـIDs والكلاسات الداخلية تفاصيل مرتبطة بالإصدار، وسجل الافتراضات جنب الكود. تجنب تسجيل الرابط الكامل لو فيه معرفات أو بيانات جلسة.</p>
<p>اختبر اللمس والكيبورد، ومكان التركيز بعد إغلاق القائمة، والرجوع، والشاشات الصغيرة والكبيرة. تأكد أن فتح Dialog لا ينقل التركيز أو يغلق واجهة بطريقة غير متوقعة.</p>
<p>التفصيلة الصغيرة تبقى قابلة لإعادة الاستخدام لما تحدد نطاقها وحالات فشلها.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7412039826524454912/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Prevent Lost Updates in Oracle APEX Forms]]></title><description><![CDATA[Two people can open the same record and both receive a successful save message while one overwrites the other's changes. Optimistic concurrency checks help…]]></description><link>https://karimelgezawy.hashnode.dev/prevent-lost-updates-in-oracle-apex-forms</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/prevent-lost-updates-in-oracle-apex-forms</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:02:04 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/81c8befb-71f5-4835-88b0-7eba0137c567.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Two people can open the same record and both receive a successful save message while one overwrites the other's changes. Optimistic concurrency checks help detect that conflict.</p>
<p>In a supported APEX Form, configure Lost Update Type on the Form region and enable Prevent Lost Updates on its corresponding Automatic Row Processing process. Row Values compares a checksum of updateable values. Row Version Column uses a column that changes on every update; Oracle does not recommend that option when a form updates multiple tables.</p>
<p>When a conflict occurs, explain that the record changed and let the user review the latest data. Automatic merging requires its own business rules. A separate custom UPDATE process also needs its own concurrency design.</p>
<p>Test with two separate sessions: open the same record, save a change in the first, then try to save the stale second copy. Confirm that the second write is rejected and the first change remains.</p>
<p>Reference: <a href="https://docs.oracle.com/en/database/oracle/apex/24.1/htmdb/configuring-lost-update-detection.html">Oracle lost update detection</a>.</p>
<hr />
<h2>النسخة العربية</h2>
<p>مستخدمان ممكن يفتحوا نفس السجل، وكل واحد يشوف رسالة حفظ ناجح، ومع ذلك تعديل واحد يختفي بسبب حفظ نسخة قديمة.</p>
<p>في APEX Form المدعومة، اضبط Lost Update Type في خصائص الـForm Region وفعل Prevent Lost Updates في Automatic Row Processing المرتبطة بها. Row Values تقارن بصمة القيم القابلة للتحديث. Row Version Column تعتمد على عمود يتغير مع كل تحديث؛ Oracle لا توصي به عند تعديل عدة جداول من النموذج نفسه.</p>
<p>عند التعارض، وضح للمستخدم أن البيانات اتغيرت واطلب مراجعة أحدث نسخة. دمج التعديلات تلقائيًا يحتاج قواعد عمل منفصلة. ولو عندك UPDATE مستقل خارج المعالجة المدمجة، صمم له فحص تعارض مناسب.</p>
<p>اختبر بجلستين منفصلتين: افتح نفس السجل، احفظ من الأولى، ثم حاول حفظ النسخة القديمة من الثانية. تأكد أن الحفظ الثاني يتوقف وأن التعديل الأول يظل موجودًا.</p>
<p>المرجع: <a href="https://docs.oracle.com/en/database/oracle/apex/24.1/htmdb/configuring-lost-update-detection.html">توثيق Oracle لمنع فقد التعديلات</a>.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7517079448249221120/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Protect Drafts, Structure Your APEX Application, and Make Errors Traceable]]></title><description><![CDATA[A reliable APEX application needs more than a working form. Three design decisions make everyday failures easier to handle. Automatic Row Processing saves…]]></description><link>https://karimelgezawy.hashnode.dev/protect-drafts-structure-your-apex-application-and-make-errors-traceable</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/protect-drafts-structure-your-apex-application-and-make-errors-traceable</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:01:50 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/8c0e503c-6d29-4195-a508-86eba2c93b78.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A reliable APEX application needs more than a working form. Three design decisions make everyday failures easier to handle.</p>
<h3>Preserve unfinished work deliberately</h3>
<p>Automatic Row Processing saves submitted data; it does not continuously save everything typed into a browser. For long forms, consider an authenticated server-side draft with clear ownership and retention. Warn about unsaved changes. Browser storage needs an explicit privacy decision, especially on shared devices.</p>
<h3>Organize the application as it grows</h3>
<p>Give repeated business rules a reusable home in focused packages. Use Shared Components for common definitions and agree on naming conventions. Document dependencies before removing anything.</p>
<h3>Make failures traceable</h3>
<p>Record a useful correlation identifier, operation, time, and safe diagnostic context. Restrict access to logs and define retention. A user-facing message should explain the next action; detailed diagnostics belong in an access-controlled channel.</p>
<p>These measures reduce avoidable loss and confusion. Their value depends on testing realistic failure cases, including expired sessions, interrupted requests, and attempts to repeat an operation.</p>
<hr />
<h2>النسخة العربية</h2>
<p>التطبيق الموثوق في APEX محتاج أكثر من Form شغالة. ثلاث قرارات بتسهل التعامل مع المشاكل اليومية.</p>
<h3>احفظ الشغل غير المكتمل بتصميم واضح</h3>
<p>Automatic Row Processing بتحفظ البيانات عند إرسالها؛ مش بتحفظ كل حرف بيتكتب تلقائيًا. للنماذج الطويلة، فكر في مسودة على السيرفر بمستخدم مالك وصلاحيات وفترة احتفاظ واضحة. نبه المستخدم للتغييرات غير المحفوظة، وراجع خصوصية تخزين البيانات في المتصفح، خصوصًا على جهاز مشترك.</p>
<h3>نظم التطبيق مع نموه</h3>
<p>حط قواعد العمل المتكررة في Packages محددة المسؤولية. استخدم Shared Components للتعريفات المشتركة، واتفق على أسماء واضحة. راجع الاعتماديات قبل إزالة أي مكون.</p>
<h3>خلي الخطأ قابل للتتبع</h3>
<p>سجل رقم تتبع للعملية والوقت وسياق تشخيص آمن. قيد الوصول للسجلات وحدد مدة الاحتفاظ بها. رسالة المستخدم توضح الخطوة التالية، والتفاصيل الفنية تكون في قناة محمية.</p>
<p>اختبر انتهاء الجلسة وانقطاع الطلب وتكرار العملية. التصميم الجيد يقلل فقد الشغل والارتباك عندما تحصل مشكلة فعلية.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7400160139737018368/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Before Creating an APEX Page, Understand the Business]]></title><description><![CDATA[When starting an APEX system, I prefer to understand the business operation before generating forms. A good interface becomes much easier to build when…]]></description><link>https://karimelgezawy.hashnode.dev/before-creating-an-apex-page-understand-the-business</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/before-creating-an-apex-page-understand-the-business</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:01:31 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/8400d219-83b2-4c27-9edd-4e5a0b22e939.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>When starting an APEX system, I prefer to understand the business operation before generating forms. A good interface becomes much easier to build when ownership, states, and rules are clear.</p>
<p>For a leave request, map submission, manager review, HR checks, balance handling, and notification. Ask what happens when the manager changes, two approvals arrive together, or a request is withdrawn.</p>
<h3>Turn the process into a model</h3>
<p>Identify employees, request types, requests, and decision history. Define keys and relationships, then enforce suitable uniqueness, required values, and valid states with database constraints. Put reusable operations behind clear package interfaces such as <code>leave_request_pkg.approve_request</code>.</p>
<p>That operation should verify the caller's authority and the request's current state, protect against conflicting changes, and record the decision. Keep APEX processes focused on passing validated context and displaying outcomes.</p>
<h3>Design evidence and ownership</h3>
<p>Created and updated timestamps are useful, but they do not preserve a full change history. Record significant transitions with actor, time, previous state, new state, and reason.</p>
<p>If another system owns synchronized source records, treat those records as immutable. Store additional local business metadata in separate extension tables keyed to the source identifiers.</p>
<p><em>Editorial clarification: “database first” is a design preference, not a requirement to finish the entire schema before testing an interface. Iterate with users while preserving data ownership and integrity.</em></p>
<p>Include access rules, representative performance checks, and operational monitoring from the beginning. Oracle's <a href="https://www.oracle.com/apex/">APEX overview</a> describes its database foundation; these design choices remain the application team's responsibility.</p>
<hr />
<h2>النسخة العربية</h2>
<p>لما أبدأ نظام APEX، أفضل أفهم العملية التجارية قبل توليد الفورمز. بناء واجهة جيدة بيكون أسهل لما ملكية البيانات والحالات والقواعد تكون واضحة.</p>
<p>في طلب إجازة، ارسم التقديم، ومراجعة المدير، وفحص HR، والتعامل مع الرصيد، والإشعار. واسأل: إيه اللي يحصل لو المدير اتغير، أو موافقتان وصلوا مع بعض، أو الطلب اتسحب؟</p>
<h3>حوّل العملية إلى نموذج بيانات</h3>
<p>حدد الموظفين، وأنواع الطلبات، والطلبات، وسجل القرارات. عرّف المفاتيح والعلاقات، وطبّق القيود المناسبة لمنع التكرار، وفرض القيم المطلوبة، وتحديد الحالات الصحيحة. ضع العمليات القابلة لإعادة الاستخدام خلف واجهات Packages واضحة مثل <code>leave_request_pkg.approve_request</code>.</p>
<p>العملية لازم تتحقق من صلاحية المنفذ ومن حالة الطلب الحالية، وتحمي من تعارض التغييرات، وتسجل القرار. خَلّي APEX Processes تركز على تمرير السياق المتحقق منه وعرض النتيجة.</p>
<h3>صمم التوثيق وملكية البيانات</h3>
<p>توقيتات الإنشاء والتحديث مفيدة، لكنها لا تحفظ تاريخ التغييرات كاملًا. سجّل الانتقالات المهمة مع المنفذ، والوقت، والحالة السابقة، والحالة الجديدة، والسبب.</p>
<p>لو نظام آخر يملك سجلات المصدر المتزامنة، تعامل معها كبيانات غير قابلة للتعديل محليًا. ضع معلومات العمل المحلية الإضافية في Extension Tables منفصلة مرتبطة بمعرّفات المصدر.</p>
<p><em>توضيح تحريري: «Database First» تفضيل في التصميم، وليس شرطًا لإكمال كل الـSchema قبل تجربة الواجهة. طوّر بالتدريج مع المستخدمين مع الحفاظ على ملكية البيانات وسلامتها.</em></p>
<p>ضمّن قواعد الوصول، واختبارات أداء تمثل الاستخدام، ومراقبة التشغيل من البداية. <a href="https://www.oracle.com/apex/">نظرة Oracle العامة على APEX</a> تشرح أساسه المعتمد على قاعدة البيانات؛ وتظل قرارات التصميم دي مسؤولية فريق التطبيق.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7512769922905559040/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[Use APEX Dictionary Views to Understand an Application]]></title><description><![CDATA[Opening every page is a slow way to answer “where is this item used?” APEX dictionary views expose application metadata that you can query for inventories…]]></description><link>https://karimelgezawy.hashnode.dev/use-apex-dictionary-views-to-understand-an-application</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/use-apex-dictionary-views-to-understand-an-application</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:01:16 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/4da367be-ed08-4cfd-ad75-1ea5afdcc454.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Opening every page is a slow way to answer “where is this item used?” APEX dictionary views expose application metadata that you can query for inventories, reviews, and documentation.</p>
<p>Start with Application → Utilities → Oracle APEX Views. Select a view, inspect its available columns, and copy the generated query. Oracle also provides <code>APEX_DICTIONARY</code> to discover the available views. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/htmdb/accessing-apex-views.html">Oracle's walkthrough</a>.</p>
<h3>Build a focused inventory</h3>
<p>This read-only example lists item definitions:</p>
<pre><code class="language-sql">select page_id, item_name, display_as
from apex_application_page_items
where application_id = :APP_ID
order by page_id, item_name;
</code></pre>
<p>In an APEX application, <code>:APP_ID</code> supplies the current application identifier. In a standalone SQL tool, bind an explicit identifier and establish the appropriate workspace context. The named columns also appear in <a href="https://www.oracle.com/ocom/groups/public/%40otn/documents/webcontent/301715.html">Oracle's metadata example</a>; confirm the installed release through the view browser.</p>
<p>Then inspect region, button, process, and dynamic-action views. Group findings by application and page. Look for unexpected component names, obsolete references, or repeated logic worth reviewing.</p>
<p>An item inventory does not prove every dependency. Dynamic SQL, generated JavaScript, plug-ins, and external services may require additional investigation. Likewise, a missing page-level authorization value is a review signal, not proof that the page is unprotected.</p>
<p><em>Editorial clarification: metadata queries support analysis, but do not constitute a complete dependency or security audit.</em></p>
<p>Keep reusable review queries in source control and compare results when application structure changes.</p>
<hr />
<h2>النسخة العربية</h2>
<p>فتح كل صفحة يدويًا طريقة بطيئة للإجابة عن «العنصر ده مستخدم فين؟». APEX Dictionary Views بتعرض Metadata التطبيق، وتقدر تستعلم عنها للجرد والمراجعة والتوثيق.</p>
<p>ابدأ من Application → Utilities → Oracle APEX Views. اختار View، وراجع الأعمدة المتاحة، وانسخ الاستعلام الناتج. Oracle بتوفر كمان <code>APEX_DICTIONARY</code> لاكتشاف الـViews. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/htmdb/accessing-apex-views.html">الخطوات الرسمية</a>.</p>
<h3>اعمل جردًا محددًا</h3>
<p>المثال التالي للقراءة فقط، ويعرض تعريفات العناصر:</p>
<pre><code class="language-sql">select page_id, item_name, display_as
from apex_application_page_items
where application_id = :APP_ID
order by page_id, item_name;
</code></pre>
<p>داخل تطبيق APEX، <code>:APP_ID</code> تمثل رقم التطبيق الحالي. داخل أداة SQL مستقلة، اربط رقم التطبيق صراحة واضبط سياق الـWorkspace المناسب. أسماء الأعمدة مستخدمة أيضًا في <a href="https://www.oracle.com/ocom/groups/public/%40otn/documents/webcontent/301715.html">مثال Oracle للـMetadata</a>؛ وراجع إصدارك المثبت من متصفح الـViews.</p>
<p>بعدها افحص Views الخاصة بالـRegions والأزرار والـProcesses والـDynamic Actions. اجمع النتائج حسب التطبيق والصفحة، وابحث عن أسماء غير متوقعة، أو مراجع قديمة، أو منطق متكرر يحتاج مراجعة.</p>
<p>جرد العناصر لا يثبت كل الاعتماديات. Dynamic SQL وJavaScript المتولدة والـPlugins والخدمات الخارجية قد تحتاج بحثًا إضافيًا. وبالمثل، غياب قيمة Authorization على مستوى الصفحة مؤشر للمراجعة، وليس دليلًا إن الصفحة غير محمية.</p>
<p><em>توضيح تحريري: استعلامات Metadata تساعد في التحليل، لكنها ليست مراجعة كاملة للاعتماديات أو الأمان.</em></p>
<p>احفظ استعلامات المراجعة المتكررة في Source Control، وقارن نتائجها عندما يتغير تركيب التطبيق.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7493894195955494912/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item><item><title><![CDATA[APEX Ajax or Page Submit? Choose the Processing Contract]]></title><description><![CDATA[The useful question is not simply which request looks faster. It is which processing contract the user action needs. A page submit enters APEX page…]]></description><link>https://karimelgezawy.hashnode.dev/apex-ajax-or-page-submit-choose-the-processing-contract</link><guid isPermaLink="true">https://karimelgezawy.hashnode.dev/apex-ajax-or-page-submit-choose-the-processing-contract</guid><dc:creator><![CDATA[Karim El Gezawy]]></dc:creator><pubDate>Thu, 29 Oct 2026 01:00:49 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a0174070dc47f5a5d13b76e/a48d7844-d720-4519-a2dd-df074fe5dc69.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The useful question is not simply which request looks faster. It is which processing contract the user action needs.</p>
<h3>Use submit for the page's processing flow</h3>
<p>A page submit enters APEX page processing: submitted state, applicable computations, validations, processes, and branches. Conditions and button settings determine what actually runs. Submit is a natural fit for a form that already has declarative validation and save processing.</p>
<h3>Use Ajax for a targeted interaction</h3>
<p>A dashboard filter usually needs fresh data in selected regions. Submit the relevant filter items and refresh those regions. A custom <code>apex.server.process</code> call invokes a named callback; it does not automatically execute the page's full submit-validation lifecycle. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aexjs/apex.server.html">Oracle's Ajax API</a>.</p>
<p>Consequently, the callback must enforce its own input rules, authorization, and business invariants, preferably through shared server-side operations. Define what success means and how the interface responds to failure or duplicate clicks.</p>
<p>Both approaches can modify data and participate in database transactions. Ajax can have side effects, including committed changes. Transport choice does not determine business atomicity.</p>
<p><em>Editorial correction: the original post described Ajax as having no side effects, reserved transactions for submit, and claimed large systems use events instead of state machines. Those claims were too broad.</em></p>
<p>Measure request count, SQL time, payload size, and user effort. Choose the smallest interaction that still preserves the required processing and security guarantees; event handling and explicit business states can work together.</p>
<p>Reference: <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/how-does-page-processing-and-page-rendering-work.html">APEX page processing</a>.</p>
<hr />
<h2>النسخة العربية</h2>
<p>السؤال المفيد مش مجرد: أي طلب شكله أسرع؟ السؤال هو: تصرف المستخدم محتاج دورة معالجة إيه؟</p>
<h3>استخدم Submit لدورة معالجة الصفحة</h3>
<p>Page Submit تدخل في معالجة APEX: القيم المرسلة، والـComputations والـValidations والـProcesses والـBranches المنطبقة. الشروط وإعدادات الزر تحدد إيه اللي هيتنفذ فعلًا. Submit مناسبة لفورم عندها بالفعل تحقق وحفظ تصريحي.</p>
<h3>استخدم Ajax لتفاعل محدد</h3>
<p>فلتر Dashboard غالبًا يحتاج تحديث بيانات Regions معينة. ابعت عناصر الفلتر المطلوبة وحدّث المناطق دي. استدعاء <code>apex.server.process</code> المخصص ينفذ Callback باسم محدد، ولا يشغّل تلقائيًا دورة Validations الكاملة الخاصة بـSubmit الصفحة. <a href="https://docs.oracle.com/en/database/oracle/apex/24.2/aexjs/apex.server.html">واجهة Ajax من Oracle</a>.</p>
<p>بالتالي، الـCallback لازم تتحقق بنفسها من المدخلات والصلاحيات وقواعد العمل، ويفضل عن طريق عمليات مشتركة على السيرفر. حدد معنى نجاح العملية، وتصرف الواجهة عند الفشل أو الضغط المتكرر.</p>
<p>الطريقتان تقدر تعدل بيانات وتشارك في Transactions. Ajax ممكن يكون لها آثار جانبية، منها تغييرات محفوظة بـCommit. طريقة إرسال الطلب لا تحدد وحدها إن العملية التجارية تتم كلها أو لا تتم.</p>
<p><em>تصحيح تحريري: البوست الأصلي وصف Ajax بأنها بلا آثار جانبية، وخصص Transactions لـSubmit، وادّعى إن الأنظمة الكبيرة تستخدم Events بدل State Machines. دي تعميمات غير دقيقة.</em></p>
<p>قِس عدد الطلبات، ووقت SQL، وحجم البيانات، ومجهود المستخدم. اختار أصغر تفاعل يحافظ على المعالجة والأمان المطلوبين؛ التعامل مع الأحداث وتحديد حالات العمل يقدروا يشتغلوا مع بعض.</p>
<p>المرجع: <a href="https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/how-does-page-processing-and-page-rendering-work.html">معالجة صفحات APEX</a>.</p>
<hr />
<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7409110539106369536/">Original LinkedIn post / البوست الأصلي</a></p>
<p><em>Cover illustration generated with AI. / صورة الغلاف مولّدة بالذكاء الاصطناعي.</em></p>
]]></content:encoded></item></channel></rss>