> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmucanvas-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmucanvas-manual/grading-and-feedback/grade-import-and-export/import-grades.md).

# Import Grades

สำหรับการประกาศคะแนนน.ศ.แบบรายบุคคลบนระบบ Mango Canvas

การ Import คะแนนเข้าสู่คอร์สบนระบบ Mango นั้นจะมี format เฉพาะ ซึ่งสามารถดาวน์โหลดผ่านคอร์สได้เลย โดยเลือก Grades >> Export >> Export Current Gradebook View จากนั้นระบบจะ**ดาวน์โหลดเป็นไฟล์ Excel .csv**

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FdtfZcoEudiwpyOCoGDj4%2Fimage.png?alt=media&amp;token=dcfcf703-1c68-467b-bab5-a629ec33be5e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FdO2KlUMx7aKJAbmGQdkF%2Fimage.png?alt=media&amp;token=adfa7045-0b93-4d74-9e9d-d85670497608" alt=""><figcaption></figcaption></figure>

เมื่อได้ไฟล์ Excel มา ท่านสามารถเพิ่มคอลัมน์คะแนนใหม่หรือกรอกข้อมูลคะแนนในคอลัมน์ที่มีอยู่แล้วในไฟล์ได้เลย

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2F5dblZrWrL3XbPY04oupA%2Fimage.png?alt=media&amp;token=b934253d-f8f8-498d-99f3-0bde81dc1041" alt=""><figcaption></figcaption></figure>

## โดยมีเงื่อนไขการกรอกคะแนนในไฟล์ดังนี้

1. <mark style="color:red;">**ห้ามเปลี่ยนแปลง ลบ หรือ แก้ไข ข้อมูลเดิมที่มีอยู่แล้วในไฟล์**</mark> ถ้าต้องการแก้ไข ให้แก้ไขในระบบ MANGO Canvas และทำการ download ไฟล์ใหม่อีกครั้ง กรณีที่ในไฟล์มีหัวคอลัมน์การสอบหรือกิจกรรมอยู่แล้ว ให้ทำการกรอกเฉพาะคะแนนลงไปเท่านั้น
2. กรณีที่ต้องการประกาศคะแนนที่ไม่มีการสร้างกิจกรรมไว้ในระบบ MANGO Canvas ให้ทำการ<mark style="color:red;">**เพิ่มคอลัมน์ใหม่ ต่อด้านท้ายสุดของข้อมูลที่มีในไฟล์เท่านั้น**</mark>**&#x20;ห้ามแทรกหน้าหรือระหว่างคอลัมน์อื่นที่มีอยู่แล้วภายในไฟล์**&#x20;
3. Point Possible ให้**ใส่เฉพาะตัวเลขที่เป็นคะแนนเต็ม**ของกิจกรรมนั้นๆเท่านั้น
4. คะแนนที่ประกาศ <mark style="color:red;">**ห้าม**</mark> เป็นช่องว่าง หรือ สัญลักษณ์ใดๆ กรณีที่ผู้เรียนไม่มีคะแนนสอบหรือคะแนนกิจกรรมดังกล่าว ให้ใส่เป็น 0 ในไฟล์ เพื่อให้สามารถนำเข้าคะแนนได้ แล้วจากนั้นจึงไปลบ 0 คะแนนนั้นออกใน gradebook บนระบบ MANGO Canvas
5. เมื่อจัดการข้อมูลคะแนนในไฟล์เรียบร้อยแล้วบันทึก(save หรือ save as) และตรวจสอบนามสกุลของไฟล์ให้เลือกใช้เป็น CSV UTF-8(Comma delimited)

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FSmV0Xr6zDWeURhlBWWVq%2Fimage.png?alt=media&amp;token=950df17a-5e7f-499c-aa70-f92eb8a29460" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
สำหรับรูปแบบของไฟล์ที่ถูกต้อง-วิธีการเพิ่มคอลัมน์ใหม่-วิธีการนำไฟล์ไป upload เข้าระบบ ทางศูนย์ฯได้จัดทำคลิปวิธีการ Import คะแนนและแนบไว้บริเวณด้านล่างของคู่มือหน้านี้ โดยจะแสดงให้เห็นถึงขั้นตอนและภาพที่ชัดเจนยิ่งขึ้น
{% endhint %}

{% hint style="info" %}
กรณีที่ทำไฟล์ครบตามเงื่อนไขทั้งหมดแล้วแต่ยังไม่สามารถนำเข้าได้ ให้ลอง export ไฟล์คะแนนออกจาก gradebook ออกมาอีกครั้ง  เลือก Export Entire Gradebook

![](https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FAa1z6rw2KnlXkJOirWGw%2Fimage.png?alt=media\&token=9680a544-af4b-46f7-951a-661a457e62c7)

แล้ว copy ข้อมูลคะแนนเข้าไป paste ตามคอลัมน์

-สำหรับคะแนนที่ไม่มีการสร้างกิจกรรมไว้<mark style="color:red;">**เป็นคอลัมน์ใหม่ ต่อด้านท้ายสุดของข้อมูลที่มีในไฟล์เท่านั้น**</mark>

-สำหรับคะแนนที่มีกิจกรรมอยู่แล้วให้ <mark style="color:red;">**copy ข้อมูลคะแนนวางเท่านั้น**</mark>

แล้วทำการบันทึก(save)จากนั้นลองนำเข้าระบบอีกครั้ง

<mark style="color:red;">ทั้งนี้สาเหตุที่ไม่สามารถนำเข้าไฟล์ได้อาจเกิดจากโปรแกรม-อุปกรณ์ของท่านมีการเปลี่ยนแปลง-แก้ไข format บางอย่างของไฟล์โดยอัตโนมัติเมื่อกดบันทึก ทีมงานแนะนำให้ใช้งานผ่านคอมพิวเตอร์ pc บน Windows เป็นหลัก หรือใช้วิธีการกรอกคะแนนลงใน Gradebook โดยตรง</mark>
{% endhint %}

เมื่อเตรียมไฟล์คะแนนเรียบร้อยแล้ว ทำการเซฟข้อมูลทับในไฟล์ดังกล่าวได้ทันที และทำการ Import ในระบบ Mango Canvas โดยเลือกที่ Grades >> Import แล้วเลือกไฟล์ที่ท่านได้เตรียมไว้เพื่อนำเข้าคะแนน >> Upload Data รอระบบนำเข้าข้อมูลเข้าสู่คอร์สของท่านเป็นอันเสร็จเรียบร้อย

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FLsWZ9aI29shJqQEk0AEv%2Fimage.png?alt=media&amp;token=c08523f2-039e-416f-980c-e9a017654c08" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FimyaMIIXl9CKVUOYZqyi%2Fimage.png?alt=media&amp;token=942ba8c8-e3e7-4645-af58-91929fbd4cc1" alt=""><figcaption></figcaption></figure>

กรณีที่ไฟล์มีการสร้างหรือเพิ่มคอลัมน์ใหม่ หน้าจอจะแสดงส่วนของการ Upload New Data ขึ้นมา ให้ทำการเลือก **A new assignment \[1]** และตรวจสอบคะแนนเต็มที่ช่อง Points Possible เมื่อเรียบร้อยแล้ว เลือก **Continue \[3]**

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FYOpE9eYORt2SSteufJK1%2Fimage.png?alt=media&amp;token=97104c4f-6bfe-4578-b1cf-ae2a32e02f99" alt=""><figcaption></figcaption></figure>

ระบบจะเข้าสู่หน้าจอ Save Changes ซึ่งหน้าจอนี้จะเป็นการสรุปการเปลี่ยนแปลงข้อมูลเดิมที่มีในระบบ เทียบกับ คะแนนที่นำเข้าจากไฟล์ ส่วนที่มีการเปลี่ยนแปลงจะแสดงเป็นสีแดง \[2] เมื่อตรวจสอบข้อมูลการเปลี่ยนแปลงเรียบร้อยแล้ว เลือก **Save Changes \[4]** เพื่อให้ระบบดำเนินการนำเข้าคะแนนจากในไฟล์เข้าสู่ Gradebook

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2F9Iw9mp7YehTwsUJ0cpzI%2Fimage.png?alt=media&amp;token=de9017ba-7588-4689-8a17-dd509dd7ecd2" alt=""><figcaption></figcaption></figure>

ตรวจสอบคะแนนใน Gradebook ที่ถูกนำเข้าคะแนนเรียบร้อยแล้ว

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FGTNTRhime0EKC9IDFpc1%2Fimage.png?alt=media&amp;token=206b5501-0e79-43bb-bfb4-19cc58a3fec3" alt=""><figcaption></figcaption></figure>

## รับชมวิธีการ Import แบบวิดีโอได้ที่นี่

{% embed url="<https://www.facebook.com/tlic.cmu/videos/2234058803410819/>" %}
&#x20;
{% endembed %}

หรือรับชมได้ที่ Facebook โดยตรงที่ - <https://www.facebook.com/tlic.cmu/videos/2234058803410819>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tlic.cmu.ac.th/cmucanvas-manual/grading-and-feedback/grade-import-and-export/import-grades.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
